(svn r16655) -Codechange: use IsRailwayStationTile() more

This commit is contained in:
smatz
2009-06-25 15:54:06 +00:00
parent 72bee4ad2d
commit c113303593
4 changed files with 4 additions and 5 deletions

View File

@@ -1171,7 +1171,7 @@ CommandCost CmdRemoveFromRailroadStation(TileIndex tile, DoCommandFlag flags, ui
/* Do the action for every tile into the area */
BEGIN_TILE_LOOP(tile2, size_x, size_y, tile) {
/* Make sure the specified tile is a railroad station */
if (!IsTileType(tile2, MP_STATION) || !IsRailwayStation(tile2)) {
if (!IsRailwayStationTile(tile2)) {
continue;
}