summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 4ac63d5de..5baaa64d3 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1317,8 +1317,13 @@ static bool CanFollowRoad(TileIndex tile, DiagDirection dir)
case MP_ROAD:
return target_rb != ROAD_NONE;
- case MP_HOUSE:
case MP_STATION:
+ return IsDriveThroughStopTile(tile);
+
+ case MP_TUNNELBRIDGE:
+ return GetTunnelBridgeTransportType(tile) == TRANSPORT_ROAD;
+
+ case MP_HOUSE:
case MP_INDUSTRY:
case MP_OBJECT:
return false;