clear_cmd.c
changeset 1059 c28c6be74291
parent 1044 9b73df700a7c
child 1093 e8d26c7dc42f
--- a/clear_cmd.c	Tue Jan 18 17:19:34 2005 +0000
+++ b/clear_cmd.c	Tue Jan 18 18:41:56 2005 +0000
@@ -303,9 +303,7 @@
 			for(count = ts.modheight_count; count != 0; count--, mod++) {
 				til = mod->tile;
 
-				// Change tile height
-				_map_type_and_height[til] = (_map_type_and_height[til]&~0x0F)|mod->height;
-
+				SetTileHeight(til, mod->height);
 				TerraformAddDirtyTileAround(&ts, til);
 			}
 		}