Check if the game is in title sequence mode before loading it, fixes #1870

This commit is contained in:
Gymnasiast committed 2015-09-03 11:08:23 +02:00
1 parent 8c2d0b3730
commit ba1101e012
1 file changed
+3
+3
View File
@@ -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];