From 4794012f37edeb176aae1cb6226b43a9e6044210 Mon Sep 17 00:00:00 2001 From: KUDr Date: Sun, 17 Sep 2006 16:23:30 +0000 Subject: (svn r6473) -Fix: FS#347 town extends road beyond road stop. Fixed by r5062, unfixed by r5798. Now there is proper comment, so it should not happen again. --- road_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'road_map.c') 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; } -- cgit v1.2.3-54-g00ecf