From 273533d4c705f98a15e1376a77f34a5978ec55f6 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 14 Mar 2006 12:00:11 +0000 Subject: (svn r3857) Add and use GetBridgeRampDirection() Note: This slightly changes the behavior of GetAnyRoadBits() to only return a road piece for the start of the bridge ramp instead of a full ROAD_[XY] --- road_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'road_map.h') diff --git a/road_map.h b/road_map.h index 6eccc3249..d40ddc92c 100644 --- a/road_map.h +++ b/road_map.h @@ -73,7 +73,7 @@ static inline DiagDirection GetRoadDepotDirection(TileIndex tile) * Special behavior: * - road depots: entrance is treated as road piece * - road tunnels: entrance is treated as road piece - * - bridge ramps: treated as straight road + * - bridge ramps: start of the ramp is treated as road piece * - bridge middle parts: bridge itself is ignored */ RoadBits GetAnyRoadBits(TileIndex); -- cgit v1.2.3-54-g00ecf