(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 19eabdba2c
commit 459c9523e8
12 changed files with 26 additions and 26 deletions

View File

@@ -107,7 +107,7 @@ static void DrawTile_Clear(TileInfo *ti)
DrawBridgeMiddle(ti);
}
static uint GetSlopePixelZ_Clear(TileIndex tile, uint x, uint y)
static int GetSlopePixelZ_Clear(TileIndex tile, uint x, uint y)
{
int z;
Slope tileh = GetTilePixelSlope(tile, &z);
@@ -361,7 +361,7 @@ static void ChangeTileOwner_Clear(TileIndex tile, Owner old_owner, Owner new_own
return;
}
static CommandCost TerraformTile_Clear(TileIndex tile, DoCommandFlag flags, uint z_new, Slope tileh_new)
static CommandCost TerraformTile_Clear(TileIndex tile, DoCommandFlag flags, int z_new, Slope tileh_new)
{
return DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
}