summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--road_map.c2
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);