removed encoding workaround for attribute names

This commit is contained in:
Marc Zinnschlag 2010-08-01 01:41:15 +08:00 committed by apreiml
parent 416b61d06a
commit 4c53495d99

View file

@ -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);
}