1
0
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:
Harry Hopkinson
2024-05-26 15:54:31 +00:00
committed by GitHub
parent d7f6baf307
commit 3c04e67ece
25 changed files with 220 additions and 218 deletions

View File

@@ -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)))
{