From 5fb491070e8ac80e2bb8601c664ad5d22be97c1a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 21 Jan 2012 23:40:01 +1100 Subject: MORTEVIELLE: Bugfixes for saving/loading savegames --- engines/mortevielle/prog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/mortevielle/prog.cpp') 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; -- cgit v1.2.3