mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-28 22:51:05 -04:00
Letter case fix for MWWorld::Globals
(cherry picked from commit 20723581a102f021ba04296096d5cd0c715f0d66)
This commit is contained in:
parent
a46ea70d65
commit
19acd1fada
@ -92,9 +92,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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user