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

Method GetOtherBridgeEnd

src/script/api/script_bridge.cpp:171–177  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

169}
170
171/* static */ TileIndex ScriptBridge::GetOtherBridgeEnd(TileIndex tile)
172{
173 if (!::IsValidTile(tile)) return INVALID_TILE;
174 if (!IsBridgeTile(tile)) return INVALID_TILE;
175
176 return ::GetOtherBridgeEnd(tile);
177}

Callers

nothing calls this directly

Calls 3

IsValidTileFunction · 0.85
IsBridgeTileFunction · 0.85
GetOtherBridgeEndFunction · 0.85

Tested by

no test coverage detected