forked from mirror/openmw-tes3mp
Change button caption from "Buy" to "Create" when self-enchanting
This commit is contained in:
parent
09607f992e
commit
9c60e4d826
1 changed files with 4 additions and 0 deletions
|
@ -144,6 +144,8 @@ namespace MWGui
|
|||
mEnchanting.setSelfEnchanting(false);
|
||||
mEnchanting.setEnchanter(actor);
|
||||
|
||||
mBuyButton->setCaptionWithReplacing("#{sBuy}");
|
||||
|
||||
mPtr = actor;
|
||||
|
||||
startEditing ();
|
||||
|
@ -156,6 +158,8 @@ namespace MWGui
|
|||
mEnchanting.setSelfEnchanting(true);
|
||||
mEnchanting.setEnchanter(player);
|
||||
|
||||
mBuyButton->setCaptionWithReplacing("#{sCreate}");
|
||||
|
||||
mPtr = player;
|
||||
startEditing();
|
||||
mEnchanting.setSoulGem(soulgem);
|
||||
|
|
Loading…
Reference in a new issue