Mercurial > hg > openttd
diff src/station_gui.cpp @ 12529:f24901a2ad84 draft
(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
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sun, 26 Jul 2009 21:50:30 +0000 |
parents | a8b8bcd7f03d |
children | 5add58f1ce2a |
line wrap: on
line diff
--- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -1132,9 +1132,9 @@ _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;