mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
* Close #12466: Add flag to use RCT1 interest * Bump network version
This commit is contained in:
committed by
GitHub
parent
bc20c33568
commit
07d198f084
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user