mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 20:36:40 +00:00
fixing case broke sorting in script context
This commit is contained in:
parent
2130ec39d6
commit
4e04131957
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ bool CSMWorld::ScriptContext::isId (const std::string& name) const
|
||||||
mIds = mData.getIds();
|
mIds = mData.getIds();
|
||||||
|
|
||||||
std::for_each (mIds.begin(), mIds.end(), &Misc::StringUtils::lowerCase);
|
std::for_each (mIds.begin(), mIds.end(), &Misc::StringUtils::lowerCase);
|
||||||
|
std::sort (mIds.begin(), mIds.end());
|
||||||
|
|
||||||
mIdsUpdated = true;
|
mIdsUpdated = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue