(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well

This commit is contained in:
rubidium
2011-11-04 11:36:10 +00:00
parent 70faeeaba9
commit fb9fb416a1
12 changed files with 26 additions and 26 deletions

View File

@@ -516,7 +516,7 @@ static void DrawTile_Trees(TileInfo *ti)
}
static uint GetSlopePixelZ_Trees(TileIndex tile, uint x, uint y)
static int GetSlopePixelZ_Trees(TileIndex tile, uint x, uint y)
{
int z;
Slope tileh = GetTilePixelSlope(tile, &z);
@@ -776,7 +776,7 @@ void InitializeTrees()
_trees_tick_ctr = 0;
}
static CommandCost TerraformTile_Trees(TileIndex tile, DoCommandFlag flags, uint z_new, Slope tileh_new)
static CommandCost TerraformTile_Trees(TileIndex tile, DoCommandFlag flags, int z_new, Slope tileh_new)
{
return DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
}