summaryrefslogtreecommitdiff
path: root/src/unmovable_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unmovable_cmd.cpp')
-rw-r--r--src/unmovable_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp
index 15170b90e..832318dd5 100644
--- a/src/unmovable_cmd.cpp
+++ b/src/unmovable_cmd.cpp
@@ -370,9 +370,9 @@ static bool IsRadioTowerNearby(TileIndex tile)
uint w = min(TileX(tile), 4U) + 1 + min(MapMaxX() - TileX(tile), 4U);
uint h = min(TileY(tile), 4U) + 1 + min(MapMaxY() - TileY(tile), 4U);
- BEGIN_TILE_LOOP(tile, w, h, tile_s)
+ TILE_LOOP(tile, w, h, tile_s) {
if (IsTransmitterTile(tile)) return true;
- END_TILE_LOOP(tile, w, h, tile_s)
+ }
return false;
}