1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-11 14:44:07 +00:00

Fix a problem that prevented loading a saved game of a mod in a zip file, which occured when no patches were loaded.

This commit is contained in:
fgenesis 2012-06-30 00:58:06 +02:00
parent ad0eff411c
commit b22ceb2aa0

View file

@ -2167,9 +2167,7 @@ void DSQ::applyPatches()
vfs.MountExternalPath(mod.getBaseModPath().c_str(), "_mods");
}
// user wants mods, but not yet loaded
if(activePatches.size() && modEntries.empty())
loadMods();
loadMods();
for (std::set<std::string>::iterator it = activePatches.begin(); it != activePatches.end(); ++it)
for(int i = 0; i < modEntries.size(); ++i)