summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index fcf9852dc..6ea51fcc4 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -2095,7 +2095,7 @@ static bool BuildTownHouse(Town *t, TileIndex tile)
/* no house allowed at all, bail out */
if (!CanBuildHouseHere(tile, t->index, false)) return false;
- uint z;
+ int z;
Slope slope = GetTileSlope(tile, &z);
/* Get the town zone type of the current tile, as well as the climate.