(svn r5081) -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit

This commit is contained in:
celestar 2006-06-02 21:03:59 +00:00
parent 01aecb8416
commit e530e53564

View File

@ -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: