From 31d6f87d80bb42c1fbb8841071937e6d86fe9e86 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 18 Jan 2005 18:41:56 +0000 Subject: (svn r1560) Introduce SetTileType() and SetTileHeight() Replace direct references to _map_type_and_height with these --- clear_cmd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'clear_cmd.c') diff --git a/clear_cmd.c b/clear_cmd.c index bc6c89e84..110750041 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -303,9 +303,7 @@ int32 CmdTerraformLand(int x, int y, uint32 flags, uint32 p1, uint32 p2) 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); } } -- cgit v1.2.3-54-g00ecf