Difference for random_maps/treasure.c from version 1.21 to 1.22


version 1.21 version 1.22
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_treasure_c =   * static char *rcsid_treasure_c =
  *   "$Id: treasure.c,v 1.21 2005/09/04 16:58:12 akirschbaum Exp $";   *   "$Id: treasure.c,v 1.22 2005/11/01 20:52:04 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 176
 
Line 176
   
   /* first, find a place to put the chest. */    /* first, find a place to put the chest. */
   i = find_first_free_spot(find_archetype("chest"),map,x,y);    i = find_first_free_spot(find_archetype("chest"),map,x,y);
     if (i == -1)
       return NULL;
   xl = x + freearr_x[i]; yl = y +  freearr_y[i];    xl = x + freearr_x[i]; yl = y +  freearr_y[i];
   
   /* if the placement is blocked, return a fail. */    /* if the placement is blocked, return a fail. */


Legend:
line(s) removed in v.1.21 
line(s) changed
 line(s) added in v.1.22

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