src/station_cmd.cpp
changeset 7158 ffb31324aa5e
parent 7157 270bc5b64e08
child 7160 fc25fe36c045
--- a/src/station_cmd.cpp	Sun May 20 19:14:08 2007 +0000
+++ b/src/station_cmd.cpp	Sun May 20 22:04:24 2007 +0000
@@ -1397,7 +1397,7 @@
 	/* 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);