mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Rename MaxCircuitsPerRide to kMaxCircuitsPerRide
This commit is contained in:
@@ -268,7 +268,7 @@ bool RideSetSettingAction::RideIsValidLiftHillSpeed(const Ride& ride) const
|
||||
bool RideSetSettingAction::RideIsValidNumCircuits() const
|
||||
{
|
||||
int32_t minNumCircuits = 1;
|
||||
int32_t maxNumCircuits = GetGameState().Cheats.UnlockOperatingLimits ? 255 : Limits::MaxCircuitsPerRide;
|
||||
int32_t maxNumCircuits = GetGameState().Cheats.UnlockOperatingLimits ? 255 : Limits::kMaxCircuitsPerRide;
|
||||
return _value >= minNumCircuits && _value <= maxNumCircuits;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user