Letter case fix for MWWorld::Globals

openmw-38
Stanislav Bas 10 years ago
parent 00bf87b561
commit 20723581a1

@ -93,9 +93,9 @@ namespace MWWorld
{
ESM::Global global;
global.load(reader);
Misc::StringUtils::toLower(global.mId);
Collection::iterator iter = mVariables.find (Misc::StringUtils::lowerCase (global.mId));
Collection::iterator iter = mVariables.find (global.mId);
if (iter!=mVariables.end())
iter->second = global;

Loading…
Cancel
Save