(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
This commit is contained in:
@@ -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. */
|
||||||
|
Reference in New Issue
Block a user