equal
deleted
inserted
replaced
45 |
45 |
46 TrackBits GetAnyRoadTrackBits(TileIndex tile) |
46 TrackBits GetAnyRoadTrackBits(TileIndex tile) |
47 { |
47 { |
48 uint32 r; |
48 uint32 r; |
49 |
49 |
50 // Don't allow local authorities to build roads through road depots or road stops. |
50 /* Don't allow local authorities to build roads through road depots or road stops. */ |
51 if ((IsTileType(tile, MP_STREET) && IsTileDepotType(tile, TRANSPORT_ROAD)) || (IsTileType(tile, MP_STATION) && !IsDriveThroughStopTile(tile))) { |
51 if ((IsTileType(tile, MP_STREET) && IsTileDepotType(tile, TRANSPORT_ROAD)) || (IsTileType(tile, MP_STATION) && !IsDriveThroughStopTile(tile))) { |
52 return TRACK_BIT_NONE; |
52 return TRACK_BIT_NONE; |
53 } |
53 } |
54 |
54 |
55 r = GetTileTrackStatus(tile, TRANSPORT_ROAD); |
55 r = GetTileTrackStatus(tile, TRANSPORT_ROAD); |