--- deliantra/server/random_maps/wall.C 2006/09/16 22:24:13 1.7 +++ deliantra/server/random_maps/wall.C 2006/12/20 09:14:22 1.10 @@ -304,7 +304,7 @@ archetype *wall_arch = 0; /* first find the wall */ - for (the_wall = get_map_ob (the_map, i, j); the_wall != NULL; the_wall = the_wall->above) + for (the_wall = GET_MAP_OB (the_map, i, j); the_wall != NULL; the_wall = the_wall->above) if ((the_wall->move_type & MOVE_WALK) && the_wall->type != EXIT && the_wall->type != TELEPORTER) break; @@ -397,8 +397,8 @@ new_wall->y = j; if (the_wall && the_wall->map) { - remove_ob (the_wall); - free_object (the_wall); + the_wall->remove (); + the_wall->destroy (); } the_wall->move_block = MOVE_ALL; insert_ob_in_map (new_wall, the_map, new_wall, INS_NO_MERGE | INS_NO_WALK_ON);