aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/prog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mortevielle/prog.cpp')
-rw-r--r--engines/mortevielle/prog.cpp6
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;