version 1.6 | | version 1.7 |
---|
| | |
/* | | /* |
* static char *rcsid_door_c = | | * static char *rcsid_door_c = |
* "$Id: door.c,v 1.6 2000/12/15 10:06:06 peterm Exp $"; | | * "$Id: door.c,v 1.7 2000/12/15 10:25:13 peterm Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
hdoors = find_style(doorpath,0,-1); | | hdoors = find_style(doorpath,0,-1); |
for(i=0;i<RP->Xsize;i++) | | for(i=0;i<RP->Xsize;i++) |
for(j=0;j<RP->Ysize;j++) { | | for(j=0;j<RP->Ysize;j++) { |
if(maze[i][j]=='*'||maze[i][j]=='d') { | | if(maze[i][j]=='*') { |
int sindex; | | int sindex; |
object *this_door,*new_door; | | object *this_door,*new_door; |
sindex = surround_flag2(maze,i,j,RP); | | sindex = surround_flag2(maze,i,j,RP); |