version 1.18 | | version 1.19 |
---|
| | |
/* | | /* |
* static char *rcsid_exit_c = | | * static char *rcsid_exit_c = |
* "$Id: exit.c,v 1.18 2005/11/16 08:16:08 mwedel Exp $"; | | * "$Id: exit.c,v 1.19 2005/12/04 06:35:34 akirschbaum 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(walk->move_type == MOVE_ALL && walk->type != LOCKED_DOOR) { | | if(walk->move_block == MOVE_ALL && walk->type != LOCKED_DOOR) { |
walk->move_type = MOVE_BLOCK_DEFAULT; | | walk->move_block = MOVE_BLOCK_DEFAULT; |
update_object(walk,UP_OBJ_CHANGE); | | update_object(walk,UP_OBJ_CHANGE); |
} | | } |
} | | } |