Mercurial > hg > openttd
changeset 17196:b150d26f37a4 draft
(svn r21935) -Fix (r19231): Allow to overbuild road stops which are built over trams.
author | terkhen <terkhen@openttd.org> |
---|---|
date | Tue, 01 Feb 2011 10:43:25 +0000 |
parents | 42bf74a7086d |
children | d879d9c24d43 |
files | src/station_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -848,8 +848,7 @@ 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. */