1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Introduce DATLimits.h for RCT2 Dat file object limits (#16034)

This commit is contained in:
Duncan
2021-12-01 21:55:52 +00:00
committed by GitHub
parent e4a314a160
commit 79b12d2953
16 changed files with 52 additions and 44 deletions

View File

@@ -1105,7 +1105,7 @@ static int32_t cc_load_object(InteractiveConsole& console, const arguments_t& ar
rideEntry = get_ride_entry(groupIndex);
for (int32_t j = 0; j < MAX_RIDE_TYPES_PER_RIDE_ENTRY; j++)
for (int32_t j = 0; j < RCT2::ObjectLimits::MaxRideTypesPerRideEntry; j++)
{
rideType = rideEntry->ride_type[j];
if (rideType != RIDE_TYPE_NULL)