Refactor tile access to be continuous when iterating

This commit is contained in:
ζeh Matt authored and GitHub committed 2021-12-30 23:03:32 +01:00
1 parent 678dd0f69f
commit 2329d3d681
4 files changed
+13 -13

No files matched your search

+2 -2
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();