clear_cmd.c
changeset 1059 fe97d81a1b4f
parent 1044 63e0601a43cc
child 1093 4fdc46eaf423
--- 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);
 			}
 		}