1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 01:45:36 +00:00

Letter case fix for MWWorld::Globals

(cherry picked from commit 20723581a1)
This commit is contained in:
Stanislav Bas 2015-07-09 21:10:57 +03:00 committed by cc9cii
parent a46ea70d65
commit 19acd1fada

View file

@ -92,9 +92,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;