changeset 1979:6be8120cf9b2 draft

(svn r2485) Missed two uint -> TileIndex, thanks _Luca_
author tron <tron@openttd.org>
date Fri, 24 Jun 2005 17:41:08 +0000
parents 38f648814d5d
children e7a647ab6cb1
files clear_cmd.c road_cmd.c
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/clear_cmd.c
+++ b/clear_cmd.c
@@ -301,11 +301,10 @@
 		{
 			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);
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -660,7 +660,7 @@
 	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;