1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Use constant for RCT1 max map size

This commit is contained in:
Michael Steenbeek
2021-07-26 21:17:33 +02:00
committed by GitHub
parent 4f80ef50ef
commit d880fbda56

View File

@@ -462,7 +462,7 @@ private:
void AddAvailableEntriesFromMap()
{
size_t maxTiles = 128 * 128;
size_t maxTiles = RCT1_MAX_MAP_SIZE * RCT1_MAX_MAP_SIZE;
size_t tileIndex = 0;
RCT12TileElement* tileElement = _s4.tile_elements;