Difference for random_maps/treasure.c from version 1.18 to 1.19


version 1.18 version 1.19
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_treasure_c =   * static char *rcsid_treasure_c =
  *   "$Id: treasure.c,v 1.18 2001/10/07 06:45:40 mwedel Exp $";   *   "$Id: treasure.c,v 1.19 2003/01/08 08:39:18 mwedel Exp $";
  */   */
   
 /*  /*
Line 51
 
Line 51
   
   
 /* returns true if square x,y has P_NO_PASS set, which is true for walls  /* returns true if square x,y has P_NO_PASS set, which is true for walls
  and doors but not monsters. */   * and doors but not monsters.
    * This function is not map tile aware.
    */
   
 int wall_blocked(mapstruct *m, int x, int y) {  int wall_blocked(mapstruct *m, int x, int y) {
   int r;    int r;
   if(out_of_map(m,x,y))    if(OUT_OF_REAL_MAP(m,x,y))
     return 1;      return 1;
   r = GET_MAP_FLAGS(m,x,y) & (P_NO_PASS );    r = GET_MAP_FLAGS(m,x,y) & (P_NO_PASS );
   return r;    return r;


Legend:
line(s) removed in v.1.18 
line(s) changed
 line(s) added in v.1.19

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:58