Fix possible corruption of restart game save in Kyrandia 1.

svn-id: r43803
This commit is contained in:
Johannes Schickel 2009-08-29 15:22:16 +00:00
parent e12d3c966a
commit 4928ca23cc

View File

@ -407,8 +407,9 @@ void KyraEngine_LoK::startup() {
_screen->showMouse();
_gui->buttonMenuCallback(0);
_menuDirectlyToLoad = false;
} else
} else if (!shouldQuit()) {
saveGameState(0, "New game", 0);
}
} else {
_screen->setFont(Screen::FID_8_FNT);
loadGameStateCheck(_gameToLoad);