src/clear_cmd.cpp
branchcustombridgeheads
changeset 5650 aefc131bf5ce
parent 5649 55c8267c933f
child 5919 2b58160d667d
--- a/src/clear_cmd.cpp	Thu Jan 11 13:41:16 2007 +0000
+++ b/src/clear_cmd.cpp	Mon Jan 15 20:14:06 2007 +0000
@@ -548,7 +548,7 @@
 static uint GetSlopeZ_Clear(TileIndex tile, uint x, uint y)
 {
 	uint z;
-	uint tileh = GetTileSlope(tile, &z);
+	Slope tileh = GetTileSlope(tile, &z);
 
 	return z + GetPartialZ(x & 0xF, y & 0xF, tileh);
 }
@@ -786,7 +786,7 @@
 	_opt.snow_line = _patches.snow_line_height * TILE_HEIGHT;
 }
 
-const TileTypeProcs _tile_type_clear_procs = {
+extern const TileTypeProcs _tile_type_clear_procs = {
 	DrawTile_Clear,           /* draw_tile_proc */
 	GetSlopeZ_Clear,          /* get_slope_z_proc */
 	ClearTile_Clear,          /* clear_tile_proc */