summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-02-01 10:43:25 +0000
committerterkhen <terkhen@openttd.org>2011-02-01 10:43:25 +0000
commit2e1eafbdc3dddfa022c58f0211921fced5cd52d9 (patch)
treef175f4e8bb83704517279efa15e6dbaba28ea1d0 /src
parent49ea0e9092787a5ff8dc2b47450f2903324129fe (diff)
downloadopenttd-2e1eafbdc3dddfa022c58f0211921fced5cd52d9.tar.xz
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
Diffstat (limited to 'src')
-rw-r--r--src/station_cmd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 9d3a0be68..04694543b 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -848,8 +848,7 @@ static CommandCost CheckFlatLandRoadStop(TileArea tile_area, DoCommandFlag flags
return ClearTile_Station(cur_tile, DC_AUTO); // Get error message.
} else {
if (is_truck_stop != IsTruckStop(cur_tile) ||
- is_drive_through != IsDriveThroughStopTile(cur_tile) ||
- HasBit(rts, ROADTYPE_TRAM) != HasBit(GetRoadTypes(cur_tile), ROADTYPE_TRAM)) {
+ is_drive_through != IsDriveThroughStopTile(cur_tile)) {
return ClearTile_Station(cur_tile, DC_AUTO); // Get error message.
}
/* Drive-through station in the wrong direction. */