mirror of https://github.com/OpenTTD/OpenTTD
(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.
parent
ed7392ef5d
commit
4794012f37
|
@ -54,8 +54,8 @@ TrackBits GetAnyRoadTrackBits(TileIndex tile)
|
||||||
{
|
{
|
||||||
uint32 r;
|
uint32 r;
|
||||||
|
|
||||||
// Don't allow building through road depot tiles.
|
// Don't allow local authorities to build roads through road depots or road stops.
|
||||||
if (IsTileType(tile, MP_STREET) && IsTileDepotType(tile, TRANSPORT_ROAD)) {
|
if ((IsTileType(tile, MP_STREET) && IsTileDepotType(tile, TRANSPORT_ROAD)) || IsTileType(tile, MP_STATION)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue