… | |
… | |
302 | object *the_wall = 0; |
302 | object *the_wall = 0; |
303 | object *new_wall = 0; |
303 | object *new_wall = 0; |
304 | archetype *wall_arch = 0; |
304 | archetype *wall_arch = 0; |
305 | |
305 | |
306 | /* first find the wall */ |
306 | /* first find the wall */ |
307 | for (the_wall = get_map_ob (the_map, i, j); the_wall != NULL; the_wall = the_wall->above) |
307 | for (the_wall = GET_MAP_OB (the_map, i, j); the_wall != NULL; the_wall = the_wall->above) |
308 | if ((the_wall->move_type & MOVE_WALK) && the_wall->type != EXIT && the_wall->type != TELEPORTER) |
308 | if ((the_wall->move_type & MOVE_WALK) && the_wall->type != EXIT && the_wall->type != TELEPORTER) |
309 | break; |
309 | break; |
310 | |
310 | |
311 | |
311 | |
312 | /* if what we found is a door, don't remove it, set the_wall to NULL to |
312 | /* if what we found is a door, don't remove it, set the_wall to NULL to |