diff options
author | Paul Gilbert | 2012-01-21 23:40:01 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:20:38 +0200 |
commit | 5fb491070e8ac80e2bb8601c664ad5d22be97c1a (patch) | |
tree | 906e9528920f3b1e031d4fdc6731d43387f985c9 /engines/mortevielle/prog.cpp | |
parent | e4a9586d74bb9c4ec8add26b63adf2a6ebe27d14 (diff) | |
download | scummvm-rg350-5fb491070e8ac80e2bb8601c664ad5d22be97c1a.tar.gz scummvm-rg350-5fb491070e8ac80e2bb8601c664ad5d22be97c1a.tar.bz2 scummvm-rg350-5fb491070e8ac80e2bb8601c664ad5d22be97c1a.zip |
MORTEVIELLE: Bugfixes for saving/loading savegames
Diffstat (limited to 'engines/mortevielle/prog.cpp')
-rw-r--r-- | engines/mortevielle/prog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/mortevielle/prog.cpp b/engines/mortevielle/prog.cpp index 41d72b5ee0..5f2fd3cb65 100644 --- a/engines/mortevielle/prog.cpp +++ b/engines/mortevielle/prog.cpp @@ -255,8 +255,10 @@ void tecran() { change_gd((uint)pred(int, ord(inkey)) >> 1); return; } - if (choisi && (msg[3] == sauve)) sv_game(msg[4] & 7); - if (choisi && (msg[3] == charge)) ld_game(pred(int, msg[4] & 7)); + if (choisi && (msg[3] == sauve)) + sv_game(msg[4] & 7); + if (choisi && (msg[3] == charge)) + ld_game((msg[4] & 7) - 1); if (inkey == '\103') { /* F9 */ temps = do_alert(stpou, 1); return; |