version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_wall_c = | | * static char *rcsid_wall_c = |
* "$Id: wall.c,v 1.5 2001/04/18 23:25:11 avogl Exp $"; | | * "$Id: wall.c,v 1.6 2001/05/31 22:46:37 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
/* first find the wall */ | | /* 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(QUERY_FLAG(the_wall,FLAG_NO_PASS)) break; | | if(QUERY_FLAG(the_wall,FLAG_NO_PASS) && the_wall->type!=EXIT && the_wall->type!=TELEPORTER) break; |
| | |
| | |
/* if what we found is a door, don't remove it, set the_wall to NULL to | | /* if what we found is a door, don't remove it, set the_wall to NULL to |