summaryrefslogtreecommitdiff
path: root/src/bridge_map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bridge_map.cpp')
-rw-r--r--src/bridge_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge_map.cpp b/src/bridge_map.cpp
index 8e2405ea3..416e603c5 100644
--- a/src/bridge_map.cpp
+++ b/src/bridge_map.cpp
@@ -40,7 +40,7 @@ TileIndex GetOtherBridgeEnd(TileIndex tile)
uint GetBridgeHeight(TileIndex t)
{
uint h;
- uint tileh = GetTileSlope(t, &h);
+ Slope tileh = GetTileSlope(t, &h);
uint f = GetBridgeFoundation(tileh, DiagDirToAxis(GetBridgeRampDirection(t)));
// one height level extra if the ramp is on a flat foundation