mirror of https://github.com/OpenRCT2/OpenRCT2.git
add end game update in load or quit command
This commit is contained in:
parent
669b65e77d
commit
e5c79f051c
10
src/game.c
10
src/game.c
|
@ -1190,10 +1190,10 @@ static void load_landscape()
|
||||||
RCT2_CALLPROC_EBPSAFE(0x006758C0); // landscape_load
|
RCT2_CALLPROC_EBPSAFE(0x006758C0); // landscape_load
|
||||||
if (1) {
|
if (1) {
|
||||||
gfx_invalidate_screen();
|
gfx_invalidate_screen();
|
||||||
// game_loop_iteration
|
rct2_endupdate();
|
||||||
} else {
|
} else {
|
||||||
RCT2_GLOBAL(0x009DEA66, uint16) = 0;
|
RCT2_GLOBAL(0x009DEA66, uint16) = 0;
|
||||||
// game_loop_iteration
|
rct2_endupdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1223,10 +1223,10 @@ static void load_game()
|
||||||
RCT2_CALLPROC_EBPSAFE(0x00675E1B); // game_load
|
RCT2_CALLPROC_EBPSAFE(0x00675E1B); // game_load
|
||||||
if (1) {
|
if (1) {
|
||||||
gfx_invalidate_screen();
|
gfx_invalidate_screen();
|
||||||
// game_loop_iteration
|
rct2_endupdate();
|
||||||
} else {
|
} else {
|
||||||
RCT2_GLOBAL(0x009DEA66, uint16) = 0;
|
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);
|
RCT2_GLOBAL(0x009DE518, uint32) &= ~(1 << 5);
|
||||||
}
|
}
|
||||||
title_load();
|
title_load();
|
||||||
// game_loop_iteration
|
rct2_endupdate();
|
||||||
} else {
|
} else {
|
||||||
rct2_exit();
|
rct2_exit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue