From ba1101e012e9337dae92d55e45ebfeaf0cc4df74 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Thu, 3 Sep 2015 11:08:23 +0200 Subject: [PATCH] Check if the game is in title sequence mode before loading it, fixes #1870 --- src/title.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/title.c b/src/title.c index f91f5a53ea..a0cfce34fa 100644 --- a/src/title.c +++ b/src/title.c @@ -646,6 +646,9 @@ static uint8 *title_script_load() bool title_refresh_sequence() { + if(RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) != SCREEN_FLAGS_TITLE_DEMO) + return; + _scriptCurrentPreset = gCurrentPreviewTitleSequence; title_sequence *title = &gConfigTitleSequences.presets[_scriptCurrentPreset];