diff options
Diffstat (limited to 'src/bridge_map.cpp')
-rw-r--r-- | src/bridge_map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bridge_map.cpp b/src/bridge_map.cpp index 5bfd7e97f..6ebf80424 100644 --- a/src/bridge_map.cpp +++ b/src/bridge_map.cpp @@ -67,9 +67,9 @@ TileIndex GetOtherBridgeEnd(TileIndex tile) * @param tile the bridge ramp tile to get the bridge height from * @return the height of the bridge. */ -uint GetBridgeHeight(TileIndex t) +int GetBridgeHeight(TileIndex t) { - uint h; + int h; Slope tileh = GetTileSlope(t, &h); Foundation f = GetBridgeFoundation(tileh, DiagDirToAxis(GetTunnelBridgeDirection(t))); |