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:
parent
a46ea70d65
commit
19acd1fada
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue