From 19eabdba2cf0184d5dc55cb3b9b8a7b5fe7ccfd3 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 4 Nov 2011 11:30:37 +0000 Subject: (svn r23106) -Codechange: pass int* to GetTileSlope and friends --- src/town_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/town_cmd.cpp') 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. -- cgit v1.2.3-54-g00ecf