1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +00:00

Minor fix

This commit is contained in:
scrawl 2015-12-11 16:59:13 +01:00
parent b856460f86
commit cc2315a0de

View file

@ -125,6 +125,8 @@ void ESMStore::setUp()
std::map<int, StoreBase *>::iterator storeIt = mStores.begin(); std::map<int, StoreBase *>::iterator storeIt = mStores.begin();
for (; storeIt != mStores.end(); ++storeIt) { for (; storeIt != mStores.end(); ++storeIt) {
storeIt->second->setUp();
if (isCacheableRecord(storeIt->first)) if (isCacheableRecord(storeIt->first))
{ {
std::vector<std::string> identifiers; std::vector<std::string> identifiers;
@ -133,8 +135,6 @@ void ESMStore::setUp()
for (std::vector<std::string>::const_iterator record = identifiers.begin(); record != identifiers.end(); ++record) for (std::vector<std::string>::const_iterator record = identifiers.begin(); record != identifiers.end(); ++record)
mIds[*record] = storeIt->first; mIds[*record] = storeIt->first;
} }
storeIt->second->setUp();
} }
mSkills.setUp(); mSkills.setUp();
mMagicEffects.setUp(); mMagicEffects.setUp();