Letter case fix for MWWorld::Globals

This commit is contained in:
Stanislav Bas 2015-07-09 21:10:57 +03:00
parent 00bf87b561
commit 20723581a1

View file

@ -93,9 +93,9 @@ namespace MWWorld
{ {
ESM::Global global; ESM::Global global;
global.load(reader); 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()) if (iter!=mVariables.end())
iter->second = global; iter->second = global;