AirportTileTableIterator it(as->table[0], tile); for (TileIndex cur_tile = it; cur_tile != INVALID_TILE; cur_tile = ++it) { if (!::IsValidTile(cur_tile)) return INVALID_TOWN; }