mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Don't update title screen when running headlessly
This commit is contained in:
@@ -449,7 +449,7 @@ void rct2_update()
|
|||||||
// Screens
|
// Screens
|
||||||
if (RCT2_GLOBAL(RCT2_ADDRESS_RUN_INTRO_TICK_PART, uint8) != 0)
|
if (RCT2_GLOBAL(RCT2_ADDRESS_RUN_INTRO_TICK_PART, uint8) != 0)
|
||||||
intro_update();
|
intro_update();
|
||||||
else if (RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_TITLE_DEMO)
|
else if ((RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_TITLE_DEMO) && !gOpenRCT2Headless)
|
||||||
title_update();
|
title_update();
|
||||||
else
|
else
|
||||||
game_update();
|
game_update();
|
||||||
|
|||||||
Reference in New Issue
Block a user