add end game update in load or quit command

This commit is contained in:
IntelOrca 2014-05-03 20:39:34 +01:00
parent 669b65e77d
commit e5c79f051c
1 changed files with 5 additions and 5 deletions

View File

@ -1190,10 +1190,10 @@ static void load_landscape()
RCT2_CALLPROC_EBPSAFE(0x006758C0); // landscape_load
if (1) {
gfx_invalidate_screen();
// game_loop_iteration
rct2_endupdate();
} else {
RCT2_GLOBAL(0x009DEA66, uint16) = 0;
// game_loop_iteration
rct2_endupdate();
}
}
}
@ -1223,10 +1223,10 @@ static void load_game()
RCT2_CALLPROC_EBPSAFE(0x00675E1B); // game_load
if (1) {
gfx_invalidate_screen();
// game_loop_iteration
rct2_endupdate();
} else {
RCT2_GLOBAL(0x009DEA66, uint16) = 0;
// game_loop_iteration
rct2_endupdate();
}
}
}
@ -1260,7 +1260,7 @@ void game_load_or_quit_no_save_prompt()
RCT2_GLOBAL(0x009DE518, uint32) &= ~(1 << 5);
}
title_load();
// game_loop_iteration
rct2_endupdate();
} else {
rct2_exit();
}