mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit
This commit is contained in:
parent
47bf194723
commit
8c01bf711d
@ -344,7 +344,7 @@ int32 CmdBuildBridge(TileIndex end_tile, uint32 flags, uint32 p1, uint32 p2)
|
||||
break;
|
||||
|
||||
case MP_STREET:
|
||||
if (GetRoadTileType(tile) != ROAD_TILE_NORMAL) goto not_valid_below;
|
||||
if (GetRoadTileType(tile) == ROAD_TILE_DEPOT) goto not_valid_below;
|
||||
break;
|
||||
|
||||
case MP_TUNNELBRIDGE:
|
||||
|
Loading…
Reference in New Issue
Block a user