From 57bb6f2e2f336a53f4339b7c886474b049a2efbc Mon Sep 17 00:00:00 2001 From: Garrett Date: Fri, 4 Apr 2025 19:43:31 +0000 Subject: [PATCH] Update file spellcreationdialog.cpp --- apps/openmw/mwgui/spellcreationdialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/spellcreationdialog.cpp b/apps/openmw/mwgui/spellcreationdialog.cpp index 651d3014c1..cfa6cb01e7 100644 --- a/apps/openmw/mwgui/spellcreationdialog.cpp +++ b/apps/openmw/mwgui/spellcreationdialog.cpp @@ -30,6 +30,7 @@ namespace { + bool sortMagicEffects(short id1, short id2) { const MWWorld::Store& gmst @@ -372,7 +373,7 @@ namespace MWGui MWWorld::Ptr player = MWMechanics::getPlayer(); int playerGold = player.getClass().getContainerStore(player).count(MWWorld::ContainerStore::sGoldId); - mPlayerGold->setCaptionWithReplacing("#{sGold}: " + MyGUI::utility::toString(playerGold)); + mPlayerGold->setCaptionWithReplacing(MyGUI::utility::toString(playerGold)); startEditing(); }