MORTEVIELLE: Bugfixes for saving/loading savegames

This commit is contained in:
Paul Gilbert 2012-01-21 23:40:01 +11:00 committed by Strangerke
parent e4a9586d74
commit 5fb491070e
2 changed files with 5 additions and 3 deletions

View File

@ -82,7 +82,7 @@ static void sync_save(Common::Serializer &sz) {
sz.syncAsByte(s1.ipre);
sz.syncAsByte(s1.heure);
sz.syncBytes(bufcha, 390);
sz.syncBytes(bufcha, 391);
}
void takesav(int n) {

View File

@ -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;