From 2ec12a3f587f4271a2d8ba5e22af233e1094e321 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 26 Jul 2009 21:50:30 +0000 Subject: (svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP --- src/station.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/station.cpp') diff --git a/src/station.cpp b/src/station.cpp index 84c7efb60..89064f77a 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -415,9 +415,9 @@ bool StationRect::BeforeAddRect(TileIndex tile, int w, int h, StationRectMode mo int width = right_a - left_a + 1; int height = bottom_a - top_a + 1; - BEGIN_TILE_LOOP(tile, width, height, top_left) + TILE_LOOP(tile, width, height, top_left) { if (IsTileType(tile, MP_STATION) && GetStationIndex(tile) == st_id) return true; - END_TILE_LOOP(tile, width, height, top_left); + } return false; } -- cgit v1.2.3-54-g00ecf