diff src/town_cmd.cpp @ 18270:432112453b2e draft

(svn r23106) -Codechange: pass int* to GetTileSlope and friends
author rubidium <rubidium@openttd.org>
date Fri, 04 Nov 2011 11:30:37 +0000 (2011-11-04)
parents c45ee8c2b36b
children f63c96a8cfb5
line wrap: on
line diff
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -2095,7 +2095,7 @@
 	/* 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.