From e5c79f051cdbaf6c2423be6a6da382e20ff3ffd5 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Sat, 3 May 2014 20:39:34 +0100 Subject: [PATCH] add end game update in load or quit command --- src/game.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/game.c b/src/game.c index 7a838c6c06..e8bafaeb33 100644 --- a/src/game.c +++ b/src/game.c @@ -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(); }