# HG changeset patch # User terkhen # Date 2011-02-01 10:43:25 # Node ID 658af0e33efa7b1b4be2d27d77f5e20278aee91b # Parent 57aadad1ee6e16affc6b5359527e2ffefbc54854 (svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams. diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -848,8 +848,7 @@ static CommandCost CheckFlatLandRoadStop 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. */