1
0
Fork 0

(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.

release/1.1
terkhen 2011-02-01 10:43:25 +00:00
parent 49ea0e9092
commit 2e1eafbdc3
1 changed files with 1 additions and 2 deletions

View File

@ -848,8 +848,7 @@ static CommandCost CheckFlatLandRoadStop(TileArea tile_area, DoCommandFlag flags
return ClearTile_Station(cur_tile, DC_AUTO); // Get error message. return ClearTile_Station(cur_tile, DC_AUTO); // Get error message.
} else { } else {
if (is_truck_stop != IsTruckStop(cur_tile) || if (is_truck_stop != IsTruckStop(cur_tile) ||
is_drive_through != IsDriveThroughStopTile(cur_tile) || is_drive_through != IsDriveThroughStopTile(cur_tile)) {
HasBit(rts, ROADTYPE_TRAM) != HasBit(GetRoadTypes(cur_tile), ROADTYPE_TRAM)) {
return ClearTile_Station(cur_tile, DC_AUTO); // Get error message. return ClearTile_Station(cur_tile, DC_AUTO); // Get error message.
} }
/* Drive-through station in the wrong direction. */ /* Drive-through station in the wrong direction. */