Skip to content

Commit

Permalink
MORTEVIELLE: Avoid using sav0.mor in run()
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Aug 16, 2013
1 parent 1d21f5d commit e2856ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion engines/mortevielle/mortevielle.cpp
Expand Up @@ -350,7 +350,10 @@ Common::Error MortevielleEngine::run() {

// Either load the initial game state savegame, or the specified savegame number
adzon();
_savegameManager.loadSavegame(generateSaveFilename(loadSlot));
if (loadSlot != 0)
_savegameManager.loadSavegame(generateSaveFilename(loadSlot));
else
resetVariables();

// Run the main game loop
mainGame();
Expand Down

0 comments on commit e2856ed

Please sign in to comment.