summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--road_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/road_map.c b/road_map.c
index 3573902bf..5e4fc667a 100644
--- a/road_map.c
+++ b/road_map.c
@@ -54,8 +54,8 @@ TrackBits GetAnyRoadTrackBits(TileIndex tile)
{
uint32 r;
- // Don't allow building through road depot tiles.
- if (IsTileType(tile, MP_STREET) && IsTileDepotType(tile, TRANSPORT_ROAD)) {
+ // Don't allow local authorities to build roads through road depots or road stops.
+ if ((IsTileType(tile, MP_STREET) && IsTileDepotType(tile, TRANSPORT_ROAD)) || IsTileType(tile, MP_STATION)) {
return 0;
}