diff options
author | smatz <smatz@openttd.org> | 2009-06-25 15:54:06 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-25 15:54:06 +0000 |
commit | 38477f2b36b6d3ce3123eb379dbbdc29fb0f5251 (patch) | |
tree | 6a46f03ad7aae756c846320b9ab15065790b933f /src/station_cmd.cpp | |
parent | fa1ad0fd3c4bb20af746d5ee7588afcb0e5f8375 (diff) | |
download | openttd-38477f2b36b6d3ce3123eb379dbbdc29fb0f5251.tar.xz |
(svn r16655) -Codechange: use IsRailwayStationTile() more
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 3054d3d76..efe0889fb 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -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; } |