1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-15 19:10:50 +00:00

Clear recent save slot when entering the title screen or starting a mod.

This fixes a bug where loading a normal saved game and then dying in a mod
(or vice versa) would cause the game to attempt loading the save game
in the wrong context, resulting in a blank error map and many
"tile dummy" error messages.
This commit is contained in:
fgenesis 2011-12-14 19:40:36 +01:00
commit b26eac658a
2 changed files with 3 additions and 1 deletions

View file

@ -184,7 +184,8 @@ void Mod::start()
core->sound->stopMusic();
enqueueModStart = 1;
enqueueModStart = 1;
dsq->recentSaveSlot = -1;
}
void Mod::applyStart()