diff options
author | Strangerke | 2013-08-16 23:29:52 +0200 |
---|---|---|
committer | Strangerke | 2013-08-16 23:29:52 +0200 |
commit | e2856ed85b08b4ab96e5a05cef793052e3232838 (patch) | |
tree | 700db4352b35a25ff0bbf4506451767bf4553753 | |
parent | 1d21f5db264b98c53ef1475bdf0f2ffbe01c2e79 (diff) | |
download | scummvm-rg350-e2856ed85b08b4ab96e5a05cef793052e3232838.tar.gz scummvm-rg350-e2856ed85b08b4ab96e5a05cef793052e3232838.tar.bz2 scummvm-rg350-e2856ed85b08b4ab96e5a05cef793052e3232838.zip |
MORTEVIELLE: Avoid using sav0.mor in run()
-rw-r--r-- | engines/mortevielle/mortevielle.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp index e958d0bada..7748ce9371 100644 --- a/engines/mortevielle/mortevielle.cpp +++ b/engines/mortevielle/mortevielle.cpp @@ -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(); |