summaryrefslogtreecommitdiff
path: root/road_map.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-14 12:00:11 +0000
committertron <tron@openttd.org>2006-03-14 12:00:11 +0000
commit273533d4c705f98a15e1376a77f34a5978ec55f6 (patch)
treee2311e3c6295b3d9db10baea067278eaaa657869 /road_map.h
parentb1cc36da3a828c496b82d5055b5e0214d0699081 (diff)
downloadopenttd-273533d4c705f98a15e1376a77f34a5978ec55f6.tar.xz
(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]
Diffstat (limited to 'road_map.h')
-rw-r--r--road_map.h2
1 files changed, 1 insertions, 1 deletions
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);