summaryrefslogtreecommitdiff
path: root/src/autoslope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/autoslope.h')
-rw-r--r--src/autoslope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autoslope.h b/src/autoslope.h
index e9bfa140f..4ff48e796 100644
--- a/src/autoslope.h
+++ b/src/autoslope.h
@@ -31,7 +31,7 @@
* @param entrance Entrance edge.
* @return true iff terraforming is allowed.
*/
-static inline bool AutoslopeCheckForEntranceEdge(TileIndex tile, uint z_new, Slope tileh_new, DiagDirection entrance)
+static inline bool AutoslopeCheckForEntranceEdge(TileIndex tile, int z_new, Slope tileh_new, DiagDirection entrance)
{
if (GetTileMaxZ(tile) != z_new + GetSlopeMaxZ(tileh_new)) return false;
return ((tileh_new == SLOPE_FLAT) || CanBuildDepotByTileh(entrance, tileh_new));