version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_door_c = | | * static char *rcsid_door_c = |
* "$Id: door.c,v 1.8 2000/12/18 06:15:05 peterm Exp $"; | | * "$Id: door.c,v 1.9 2001/05/05 17:37:52 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(maze[i][j]=='D') { | | if(maze[i][j]=='D') { |
int sindex; | | int sindex; |
object *this_door,*new_door; | | object *this_door,*new_door; |
sindex = surround_flag2(maze,i,j,RP); | | sindex = surround_flag(maze,i,j,RP); |
if(sindex==3) | | if(sindex==3) |
this_door=pick_random_object(hdoors); | | this_door=pick_random_object(hdoors); |
else | | else |