1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00

Close #12442: Refactor SCENARIO_SOURCE to use strong enum (#12608)

This commit is contained in:
Sidney
2020-08-08 14:38:43 +02:00
committed by GitHub
parent 399e0abe2e
commit 933570fd62
7 changed files with 33 additions and 32 deletions

View File

@@ -234,15 +234,15 @@ void TitleScreen::TitleInitialise()
for (size_t s = 0; s < scenarioCount; s++)
{
if (scenario_repository_get_by_index(s)->source_game == SCENARIO_SOURCE_RCT1)
if (scenario_repository_get_by_index(s)->source_game == ScenarioSource::RCT1)
{
RCT1Count++;
}
if (scenario_repository_get_by_index(s)->source_game == SCENARIO_SOURCE_RCT1_AA)
if (scenario_repository_get_by_index(s)->source_game == ScenarioSource::RCT1_AA)
{
RCT1AAInstalled = true;
}
if (scenario_repository_get_by_index(s)->source_game == SCENARIO_SOURCE_RCT1_LL)
if (scenario_repository_get_by_index(s)->source_game == ScenarioSource::RCT1_LL)
{
RCT1LLInstalled = true;
}