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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user