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.setSelfEnchanting(false);
|
||||||
mEnchanting.setEnchanter(actor);
|
mEnchanting.setEnchanter(actor);
|
||||||
|
|
||||||
|
mBuyButton->setCaptionWithReplacing("#{sBuy}");
|
||||||
|
|
||||||
mPtr = actor;
|
mPtr = actor;
|
||||||
|
|
||||||
startEditing ();
|
startEditing ();
|
||||||
|
@ -156,6 +158,8 @@ namespace MWGui
|
||||||
mEnchanting.setSelfEnchanting(true);
|
mEnchanting.setSelfEnchanting(true);
|
||||||
mEnchanting.setEnchanter(player);
|
mEnchanting.setEnchanter(player);
|
||||||
|
|
||||||
|
mBuyButton->setCaptionWithReplacing("#{sCreate}");
|
||||||
|
|
||||||
mPtr = player;
|
mPtr = player;
|
||||||
startEditing();
|
startEditing();
|
||||||
mEnchanting.setSoulGem(soulgem);
|
mEnchanting.setSoulGem(soulgem);
|
||||||
|
|
Loading…
Reference in a new issue