1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00

Fix compiling SetupEnvironment() under g++

This commit is contained in:
Graham Edgecombe
2016-12-28 12:15:39 +00:00
committed by Michał Janiszewski
parent 20b1ce069f
commit f25a0b383c

View File

@@ -310,7 +310,7 @@ namespace OpenRCT2
if (!platform_ensure_directory_exists(userPath))
{
Console::Error::WriteLine("Could not create user directory (do you have write access to your documents folder?)");
return false;
return nullptr;
}
openrct2_set_exe_path();
@@ -331,11 +331,11 @@ namespace OpenRCT2
if (!rct2_init_directories())
{
return false;
return nullptr;
}
if (!rct2_startup_checks())
{
return false;
return nullptr;
}
utf8 path[260];