1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

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

This commit is contained in:
Gymnasiast
2015-09-03 11:08:23 +02:00
parent 8c2d0b3730
commit ba1101e012

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];