1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 21:40:15 +00:00

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;
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;