* Starting at one bridge end finds the other bridge end * @param tile the bridge ramp tile to find the other bridge ramp for */
| 57 | * @param tile the bridge ramp tile to find the other bridge ramp for |
| 58 | */ |
| 59 | TileIndex GetOtherBridgeEnd(TileIndex tile) |
| 60 | { |
| 61 | assert(IsBridgeTile(tile)); |
| 62 | return GetBridgeEnd(tile, GetTunnelBridgeDirection(tile)); |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Get the height ('z') of a bridge. |
no test coverage detected