mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
Refactor constant notation in Limits.h
This commit is contained in:
@@ -1617,7 +1617,7 @@ namespace OpenRCT2
|
||||
static std::vector<RideId> LegacyGetRidesBeenOn(const std::array<uint8_t, 32>& srcArray)
|
||||
{
|
||||
std::vector<RideId> ridesBeenOn;
|
||||
for (uint16_t i = 0; i < RCT2::Limits::MaxRidesInPark; i++)
|
||||
for (uint16_t i = 0; i < RCT2::Limits::kMaxRidesInPark; i++)
|
||||
{
|
||||
if (srcArray[i / 8] & (1 << (i % 8)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user