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

This commit is contained in:
duncanspumpkin committed 2015-11-02 19:45:18 +00:00
1 parent 5914558575
commit eaffec651c
1 file changed
+2 -1
+2 -1
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;