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

Fix #2178. Failure to load a scenario no longer causes intro to be playable.

This commit is contained in:
duncanspumpkin
2015-11-02 19:45:18 +00:00
parent 5914558575
commit eaffec651c

View File

@@ -277,7 +277,8 @@ void openrct2_launch()
break;
case STARTUP_ACTION_OPEN:
assert(gOpenRCT2StartupActionPath != NULL);
rct2_open_file(gOpenRCT2StartupActionPath);
if (rct2_open_file(gOpenRCT2StartupActionPath) == 0)
break;
RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) = SCREEN_FLAGS_PLAYING;