1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Close #12466: Add flag to use RCT1 interest (#19377)

* Close #12466: Add flag to use RCT1 interest

* Bump network version
This commit is contained in:
Michael Steenbeek
2023-02-12 22:23:05 +01:00
committed by GitHub
parent bc20c33568
commit 07d198f084
11 changed files with 61 additions and 12 deletions

View File

@@ -246,6 +246,18 @@ GameActions::Result ScenarioSetSettingAction::Execute() const
case ScenarioSetSetting::AllowEarlyCompletion:
gAllowEarlyCompletionInNetworkPlay = _value;
break;
case ScenarioSetSetting::UseRCT1Interest:
{
if (_value != 0)
{
gParkFlags |= PARK_FLAGS_RCT1_INTEREST;
}
else
{
gParkFlags &= ~PARK_FLAGS_RCT1_INTEREST;
}
break;
}
default:
LOG_ERROR("Invalid setting: %u", _setting);
return GameActions::Result(GameActions::Status::InvalidParameters, STR_NONE, STR_NONE);