mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(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.
This commit is contained in:
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
Block a user