1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00

Move gScenarioFileName to GameState

This commit is contained in:
Harry Hopkinson
2024-09-07 11:20:32 +01:00
committed by GitHub
parent 3b5564ed53
commit 5f0d657bf2
9 changed files with 14 additions and 15 deletions

View File

@@ -362,7 +362,8 @@ public:
// Get scenario using RCTC style name of RCT2 scenario
scenario = GetByFilename((scenarioBaseName + ".sea").c_str());
}
// gScenarioFileName .Park scenarios is the full file path instead of just <scenarioName.park>, so need to convert
// GameState_t::ScenarioFileName .Park scenarios is the full file path instead of just <scenarioName.park>, so need
// to convert
else if (String::IEquals(scenarioExtension, ".park"))
{
scenario = GetByFilename((scenarioBaseName + ".park").c_str());