Codechange: Replace TILE_AREA_LOOP with range-based for loops
This commit is contained in:
@@ -86,7 +86,7 @@ void MoveBuoysToWaypoints()
|
||||
|
||||
if (train) {
|
||||
/* When we make a rail waypoint of the station, convert the map as well. */
|
||||
TILE_AREA_LOOP(t, train_st) {
|
||||
for (TileIndex t : train_st) {
|
||||
if (!IsTileType(t, MP_STATION) || GetStationIndex(t) != index) continue;
|
||||
|
||||
SB(_me[t].m6, 3, 3, STATION_WAYPOINT);
|
||||
|
Reference in New Issue
Block a user