From 2e1eafbdc3dddfa022c58f0211921fced5cd52d9 Mon Sep 17 00:00:00 2001 From: terkhen Date: Tue, 1 Feb 2011 10:43:25 +0000 Subject: (svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams. --- src/station_cmd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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. */ -- cgit v1.2.3-70-g09d2