FS#679 - Bouys and ports under bridges

Attached to Project: OpenTTD
Opened by Peter Henschel (Progman) - Wednesday, 14 March 2007, 12:53 GMT
Type Bug
Category Bridge
Status Closed
Assigned To No-one
Operating System Linux
Severity High
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Its possible to build bouys and ports under bridges if you build the bridge first. To reproduce: Build any kind of bridge and place a bouy under it, the graphic of the bridge is deleted and the bouye sprite is loaded, which looks very weird. Same for building ports. This doesn't however work with channels or docks.
If you try to delete such a bridge with bouys and ports you get this assert:

openttd: /home/progman/openttd/trunk/src/bridge_map.h:124: void ClearSingleBridgeMiddle(TileIndex, Axis): Assertion `MayHaveBridgeAbove(t)' failed.
This task depends upon

Closed by  Jonathan Coome (Maedhros)
Wednesday, 14 March 2007, 12:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r9178.