summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index 3e171b687..326e50661 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -1132,9 +1132,9 @@ static const Station *FindStationsNearby(TileArea ta, bool distant_join)
_deleted_stations_nearby.Clear();
/* Check the inside, to return, if we sit on another station */
- BEGIN_TILE_LOOP(t, ta.w, ta.h, ta.tile)
+ TILE_LOOP(t, ta.w, ta.h, ta.tile) {
if (t < MapSize() && IsTileType(t, MP_STATION) && Station::IsValidID(GetStationIndex(t))) return Station::GetByTile(t);
- END_TILE_LOOP(t, ta.w, ta.h, ta.tile)
+ }
/* Look for deleted stations */
const BaseStation *st;