clear_cmd.c
changeset 1986 5dd3db2b86d7
parent 1981 de031d2aed47
child 2049 ad0d49c916d4
--- a/clear_cmd.c	Sun Jun 26 21:59:21 2005 +0000
+++ b/clear_cmd.c	Mon Jun 27 06:57:24 2005 +0000
@@ -167,13 +167,12 @@
 			ts->modheight_count++;
 			break;
 		}
-		if (mod->tile == (TileIndex)tile)
-			break;
+		if (mod->tile == tile) break;
 		mod++;
 		count--;
 	}
 
-	mod->tile = (TileIndex)tile;
+	mod->tile = tile;
 	mod->height = (byte)height;
 
 	ts->cost += _price.terraform;