Fix compilation errors

This commit is contained in:
dP
2024-02-04 03:50:22 +05:30
parent 7a1afa55d6
commit 7e2ce7a494
37 changed files with 74 additions and 1656 deletions

View File

@@ -99,7 +99,7 @@ Game::Game() {
if (this->towns_growth_tiles_last_month[tile] < state) this->towns_growth_tiles_last_month[tile] = state;
}
}
for (TileIndex t = 0; t < MapSize(); t++) {
for (auto t : Map::Iterate()) {
if (!IsTileType(t, MP_HOUSE)) continue;
Town *town = Town::GetByTile(t);
if (!IsHouseCompleted(t))