(svn r2485) Missed two uint -> TileIndex, thanks _Luca_

pull/155/head
tron 19 years ago
parent b448b94fb2
commit 80760b4f69

@ -301,11 +301,10 @@ int32 CmdTerraformLand(int x, int y, uint32 flags, uint32 p1, uint32 p2)
{ {
int count; int count;
TerraformerHeightMod *mod; TerraformerHeightMod *mod;
uint til;
mod = ts.modheight; mod = ts.modheight;
for (count = ts.modheight_count; count != 0; count--, mod++) { for (count = ts.modheight_count; count != 0; count--, mod++) {
til = mod->tile; TileIndex til = mod->tile;
SetTileHeight(til, mod->height); SetTileHeight(til, mod->height);
TerraformAddDirtyTileAround(&ts, til); TerraformAddDirtyTileAround(&ts, til);

@ -660,7 +660,7 @@ int32 CmdBuildRoadDepot(int x, int y, uint32 flags, uint32 p1, uint32 p2)
return cost + _price.build_road_depot; return cost + _price.build_road_depot;
} }
static int32 RemoveRoadDepot(uint tile, uint32 flags) static int32 RemoveRoadDepot(TileIndex tile, uint32 flags)
{ {
if (!CheckTileOwnership(tile) && _current_player != OWNER_WATER) if (!CheckTileOwnership(tile) && _current_player != OWNER_WATER)
return CMD_ERROR; return CMD_ERROR;

Loading…
Cancel
Save