Changeset - r1979:2ece0cb73ecf
[Not reviewed]
master
0 2 0
tron - 19 years ago 2005-06-24 17:41:08
tron@openttd.org
(svn r2485) Missed two uint -> TileIndex, thanks _Luca_
2 files changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
clear_cmd.c
Show inline comments
 
@@ -301,11 +301,10 @@ int32 CmdTerraformLand(int x, int y, uin
 
		{
 
			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);
road_cmd.c
Show inline comments
 
@@ -660,7 +660,7 @@ int32 CmdBuildRoadDepot(int x, int y, ui
 
	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;
0 comments (0 inline, 0 general)