Change rct2_path into a C++ string

Co-authored-by: Ted John <ted@brambles.org>
This commit is contained in:
Michael SteenbeekandTed John authored and GitHub committed 2022-01-05 15:18:25 +01:00
1 parent ca27c2181b
commit ff909cc286
5 files changed
+9 -11

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ std::unique_ptr<IPlatformEnvironment> OpenRCT2::CreatePlatformEnvironment()
}
if (String::IsNullOrEmpty(gCustomRCT2DataPath))
{
env->SetBasePath(DIRBASE::RCT2, String::ToStd(gConfigGeneral.rct2_path));
env->SetBasePath(DIRBASE::RCT2, gConfigGeneral.rct2_path);
}
// Log base paths