1
0
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:
Harry-Hopkinson
2024-05-27 07:38:57 +00:00
parent a7be543fc3
commit 1cca5d7ec3
3 changed files with 4 additions and 4 deletions

View File

@@ -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;
}