mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +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;
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user