From 4c53495d9971838166fd888cc1d3cc8a4739d36e Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Sun, 1 Aug 2010 01:41:15 +0800 Subject: [PATCH] removed encoding workaround for attribute names --- apps/openmw/mwmechanics/mechanicsmanager.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/openmw/mwmechanics/mechanicsmanager.cpp b/apps/openmw/mwmechanics/mechanicsmanager.cpp index 0ba3c8f61..0c8cce8bd 100644 --- a/apps/openmw/mwmechanics/mechanicsmanager.cpp +++ b/apps/openmw/mwmechanics/mechanicsmanager.cpp @@ -31,10 +31,7 @@ namespace MWMechanics for (int i=0; names[i][0]; ++i) { -// This crashes because of encoding problems: -// std::string label = mStore.gameSettings.find (names[i][1])->str; - - std::string label = names[i][1]; // until the problem is fixed, use the GMST ID as label + std::string label = mStore.gameSettings.find (names[i][1])->str; mWindowManager.setLabel (names[i][0], label); }