version 1.6 | | version 1.7 |
---|
| | |
/* | | /* |
* static char *rcsid_treasure_c = | | * static char *rcsid_treasure_c = |
* "$Id: treasure.c,v 1.6 2000/06/21 04:54:57 peterm Exp $"; | | * "$Id: treasure.c,v 1.7 2000/07/26 18:24:38 peterm Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
object *wallface; | | object *wallface; |
door=doorlist[i]; | | door=doorlist[i]; |
wallface=retrofit_joined_wall(map,door->x,door->y,1); | | wallface=retrofit_joined_wall(map,door->x,door->y,1); |
| | if(wallface!=NULL) { |
retrofit_joined_wall(map,door->x-1,door->y,0); | | retrofit_joined_wall(map,door->x-1,door->y,0); |
retrofit_joined_wall(map,door->x+1,door->y,0); | | retrofit_joined_wall(map,door->x+1,door->y,0); |
retrofit_joined_wall(map,door->x,door->y-1,0); | | retrofit_joined_wall(map,door->x,door->y-1,0); |
| | |
} | | } |
} | | } |
} | | } |
| | } |