From f901ec4aa877b762827208305fa0d9ff1a901bb3 Mon Sep 17 00:00:00 2001 From: Ted John Date: Fri, 13 May 2016 18:37:00 +0100 Subject: [PATCH] fix intro drawing --- openrct2.vcxproj.user | 3 +-- src/rct2.c | 11 +++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/openrct2.vcxproj.user b/openrct2.vcxproj.user index fd6680fbf4..5ea571c6c0 100644 --- a/openrct2.vcxproj.user +++ b/openrct2.vcxproj.user @@ -7,8 +7,7 @@ $(TargetDir)\openrct2.exe WindowsLocalDebugger $(TargetDir) - - + intro $(TargetDir) diff --git a/src/rct2.c b/src/rct2.c index 4076705347..1226749fc3 100644 --- a/src/rct2.c +++ b/src/rct2.c @@ -276,6 +276,10 @@ int rct2_startup_checks() void rct2_draw() { + if (RCT2_GLOBAL(RCT2_ADDRESS_RUN_INTRO_TICK_PART, uint8) != 0) { + return; + } + redraw_rain(); window_update_all(); gfx_invalidate_pickedup_peep(); @@ -286,13 +290,8 @@ void rct2_draw() chat_draw(); console_draw(&gScreenDPI); - if (RCT2_GLOBAL(RCT2_ADDRESS_RUN_INTRO_TICK_PART, uint8) != 0) { - //intro - } else if (gScreenFlags & SCREEN_FLAGS_TITLE_DEMO) { - //title + if (gScreenFlags & SCREEN_FLAGS_TITLE_DEMO) { DrawOpenRCT2(0, gScreenHeight - 20); - } else { - //game } if (gConfigGeneral.show_fps) {