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

Call core_init() on paths that need it

This commit is contained in:
Michał Janiszewski
2018-01-02 19:53:51 +01:00
parent 7f7054049d
commit 68881fbbc7

View File

@@ -271,6 +271,7 @@ sint32 cmdline_for_gfxbench(const char **argv, sint32 argc)
return -1;
}
core_init();
sint32 iteration_count = 40;
if (argc == 2)
{
@@ -375,6 +376,7 @@ sint32 cmdline_for_screenshot(const char * * argv, sint32 argc, ScreenshotOption
return -1;
}
core_init();
bool customLocation = false;
bool centreMapX = false;
bool centreMapY = false;