Codechange: use explicit TileIndex constructor for tile 0

This commit is contained in:
Rubidium
2024-12-31 22:44:12 +01:00
committed by rubidium42
parent 562ec74812
commit fd5f6caed4
20 changed files with 48 additions and 48 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ private:
* Iterable ensemble of all Tiles
*/
struct IterateWrapper {
Iterator begin() { return Iterator(0); }
Iterator begin() { return Iterator(TileIndex{}); }
Iterator end() { return Iterator(Map::Size()); }
bool empty() { return false; }
};