mirror of https://github.com/OpenTTD/OpenTTD
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
parent
49ea0e9092
commit
2e1eafbdc3
|
@ -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. */
|
||||||
|
|
Loading…
Reference in New Issue