MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ClearBridgeMiddle

Function ClearBridgeMiddle

src/bridge_map.h:103–107  ·  view source on GitHub ↗

* Removes bridges from the given, that is bridges along the X and Y axis. * @param t the tile to remove the bridge from */

Source from the content-addressed store, hash-verified

101 * @param t the tile to remove the bridge from
102 */
103inline void ClearBridgeMiddle(Tile t)
104{
105 ClearSingleBridgeMiddle(t, AXIS_X);
106 ClearSingleBridgeMiddle(t, AXIS_Y);
107}
108
109/**
110 * Set that there is a bridge over the given axis.

Callers 3

InitializeLandscapeFunction · 0.85
DoClearBridgeFunction · 0.85
AfterLoadGameFunction · 0.85

Calls 1

ClearSingleBridgeMiddleFunction · 0.85

Tested by

no test coverage detected