version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_exit_c = | | * static char *rcsid_exit_c = |
* "$Id: exit.c,v 1.13 2001/04/26 05:37:10 mardahl Exp $"; | | * "$Id: exit.c,v 1.14 2001/05/15 09:38:18 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
for(j=0;j<RP->Ysize;j++) | | for(j=0;j<RP->Ysize;j++) |
if(maze[i][j]=='>' || maze[i][j]=='<') { | | if(maze[i][j]=='>' || maze[i][j]=='<') { |
for(walk=get_map_ob(map,i,j);walk!=NULL;walk=walk->above) { | | for(walk=get_map_ob(map,i,j);walk!=NULL;walk=walk->above) { |
if(QUERY_FLAG(walk,FLAG_NO_PASS)) { | | if(QUERY_FLAG(walk,FLAG_NO_PASS) && walk->type != LOCKED_DOOR) { |
CLEAR_FLAG(walk,FLAG_NO_PASS); | | CLEAR_FLAG(walk,FLAG_NO_PASS); |
update_object(walk); | | update_object(walk); |
} | | } |