mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Refactor game load functions, resolves #6011
This commit is contained in:
committed by
Michael Steenbeek
parent
9aeca18026
commit
71e580a58f
@@ -268,7 +268,7 @@ sint32 cmdline_for_gfxbench(const char **argv, sint32 argc)
|
||||
if (context->Initialise())
|
||||
{
|
||||
drawing_engine_init();
|
||||
context->Open(inputPath);
|
||||
context->LoadParkFromFile(inputPath);
|
||||
|
||||
gIntroState = INTRO_STATE_NONE;
|
||||
gScreenFlags = SCREEN_FLAGS_PLAYING;
|
||||
@@ -387,7 +387,7 @@ sint32 cmdline_for_screenshot(const char **argv, sint32 argc)
|
||||
if (context->Initialise())
|
||||
{
|
||||
drawing_engine_init();
|
||||
context->Open(inputPath);
|
||||
context->LoadParkFromFile(inputPath);
|
||||
|
||||
gIntroState = INTRO_STATE_NONE;
|
||||
gScreenFlags = SCREEN_FLAGS_PLAYING;
|
||||
|
||||
Reference in New Issue
Block a user