diff options
author | glx <glx@openttd.org> | 2006-10-08 19:31:01 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-10-08 19:31:01 +0000 |
commit | 52a19f25f5d20f34dc25280095ca1da93bfa3210 (patch) | |
tree | dd3c6e7019d1a2d8dae875af2c2a44c45a490712 | |
parent | 8411da7241c63b15b4751342bcbede50257ca382 (diff) | |
download | openttd-52a19f25f5d20f34dc25280095ca1da93bfa3210.tar.xz |
(svn r6691) -Fix r3907: check the transport type under the bridge when you want to get the road bits under a bridge (thanx hylje)
-rw-r--r-- | road_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_map.c b/road_map.c index 5e4fc667a..5c386bad1 100644 --- a/road_map.c +++ b/road_map.c @@ -30,7 +30,7 @@ RoadBits GetAnyRoadBits(TileIndex tile) if (IsBridge(tile)) { if (IsBridgeMiddle(tile)) { if (!IsTransportUnderBridge(tile) || - GetBridgeTransportType(tile) != TRANSPORT_ROAD) { + GetTransportTypeUnderBridge(tile) != TRANSPORT_ROAD) { return 0; } return GetRoadBitsUnderBridge(tile); |