1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Refactor tile access to be continuous when iterating

This commit is contained in:
ζeh Matt
2021-12-30 14:03:32 -08:00
committed by GitHub
parent 678dd0f69f
commit 2329d3d681
4 changed files with 13 additions and 13 deletions

View File

@@ -116,9 +116,9 @@ template<typename T> bool CompareLists(const CoordsXY& pos)
template<typename T> void CheckMapTiles()
{
for (int x = 0; x < MAXIMUM_MAP_SIZE_TECHNICAL; ++x)
for (int y = 0; y < MAXIMUM_MAP_SIZE_TECHNICAL; ++y)
{
for (int y = 0; y < MAXIMUM_MAP_SIZE_TECHNICAL; ++y)
for (int x = 0; x < MAXIMUM_MAP_SIZE_TECHNICAL; ++x)
{
auto pos = TileCoordsXY(x, y).ToCoordsXY();