1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-20 20:39:42 +00:00

fixing case broke sorting in script context

This commit is contained in:
Marc Zinnschlag 2014-02-15 13:09:43 +01:00
parent 2130ec39d6
commit 4e04131957

View file

@ -100,6 +100,7 @@ bool CSMWorld::ScriptContext::isId (const std::string& name) const
mIds = mData.getIds();
std::for_each (mIds.begin(), mIds.end(), &Misc::StringUtils::lowerCase);
std::sort (mIds.begin(), mIds.end());
mIdsUpdated = true;
}