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
1 changed files with 3 additions and 3 deletions

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];