diff options
author | rubidium <rubidium@openttd.org> | 2007-05-20 22:04:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-20 22:04:24 +0000 |
commit | fe420111e858bf37d9837cef8f33d9b530689dcb (patch) | |
tree | ac57754a35ba01ad4ff91419f6ce4e25bad6e86c /src/station_cmd.cpp | |
parent | 51109475a2e90499e19c1c7d1bff03393bdcaf4f (diff) | |
download | openttd-fe420111e858bf37d9837cef8f33d9b530689dcb.tar.xz |
(svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index d331dd870..313bd05b5 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1397,7 +1397,7 @@ int32 CmdRemoveRoadStop(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) /* Save the stop info before it is removed */ bool is_drive_through = IsDriveThroughStopTile(tile); RoadTypes rts = GetRoadTypes(tile); - RoadBits road_bits = GetAnyRoadBits(tile, HASBIT(rts, ROADTYPE_ROAD) ? ROADTYPE_ROAD : ROADTYPE_TRAM); + RoadBits road_bits = GetAllRoadBits(tile); bool is_towns_road = is_drive_through && GetStopBuiltOnTownRoad(tile); int32 ret = RemoveRoadStop(st, flags, tile); |