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

Function ClearSingleBridgeMiddle

src/bridge_map.h:94–97  ·  view source on GitHub ↗

* Remove the bridge over the given axis. * @param t the tile to remove the bridge from * @param a the axis of the bridge to remove */

Source from the content-addressed store, hash-verified

92 * @param a the axis of the bridge to remove
93 */
94inline void ClearSingleBridgeMiddle(Tile t, Axis a)
95{
96 ClrBit(t.type(), 2 + a);
97}
98
99/**
100 * Removes bridges from the given, that is bridges along the X and Y axis.

Callers 1

ClearBridgeMiddleFunction · 0.85

Calls 2

ClrBitFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected