src/bridge_map.cpp
branchcustombridgeheads
changeset 5650 aefc131bf5ce
parent 5649 55c8267c933f
--- a/src/bridge_map.cpp	Thu Jan 11 13:41:16 2007 +0000
+++ b/src/bridge_map.cpp	Mon Jan 15 20:14:06 2007 +0000
@@ -40,7 +40,7 @@
 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