diff options
author | tron <tron@openttd.org> | 2005-06-24 17:41:08 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-24 17:41:08 +0000 |
commit | cea090af09fbee47ef4eea01190ba8eb8e17aef8 (patch) | |
tree | 84d02f5f9aff993fc339142ed7dec2f3ab66b9ae | |
parent | c12319535bad81aa6456ad334409545d854a4917 (diff) | |
download | openttd-cea090af09fbee47ef4eea01190ba8eb8e17aef8.tar.xz |
(svn r2485) Missed two uint -> TileIndex, thanks _Luca_
-rw-r--r-- | clear_cmd.c | 3 | ||||
-rw-r--r-- | road_cmd.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/clear_cmd.c b/clear_cmd.c index cd2e175a3..2aa18001b 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -301,11 +301,10 @@ int32 CmdTerraformLand(int x, int y, uint32 flags, uint32 p1, uint32 p2) { int count; TerraformerHeightMod *mod; - uint til; mod = ts.modheight; for (count = ts.modheight_count; count != 0; count--, mod++) { - til = mod->tile; + TileIndex til = mod->tile; SetTileHeight(til, mod->height); TerraformAddDirtyTileAround(&ts, til); diff --git a/road_cmd.c b/road_cmd.c index 9b6539de7..e1208fe0f 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -660,7 +660,7 @@ int32 CmdBuildRoadDepot(int x, int y, uint32 flags, uint32 p1, uint32 p2) 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) return CMD_ERROR; |