diff options
author | terkhen <terkhen@openttd.org> | 2011-02-01 10:43:25 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-02-01 10:43:25 +0000 |
commit | 2e1eafbdc3dddfa022c58f0211921fced5cd52d9 (patch) | |
tree | f175f4e8bb83704517279efa15e6dbaba28ea1d0 | |
parent | 49ea0e9092787a5ff8dc2b47450f2903324129fe (diff) | |
download | openttd-2e1eafbdc3dddfa022c58f0211921fced5cd52d9.tar.xz |
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
-rw-r--r-- | src/station_cmd.cpp | 3 |
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. */ |