Difference for random_maps/treasure.c from version 1.23 to 1.24


version 1.23 version 1.24
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_treasure_c =   * static char *rcsid_treasure_c =
  *   "$Id: treasure.c,v 1.23 2005/11/16 08:16:08 mwedel Exp $";   *   "$Id: treasure.c,v 1.24 2006/01/08 23:12:26 qal21 Exp $";
  */   */
   
 /*  /*
Line 191
 
Line 191
      
   /* put the treasures in the chest. */    /* put the treasures in the chest. */
   /*  if(style_map) { */    /*  if(style_map) { */
   if(0) {  /* don't use treasure style maps for now!  */  #if 0 /* don't use treasure style maps for now!  */
     int ti;      int ti;
     /* if treasurestyle lists a treasure list, use it. */      /* if treasurestyle lists a treasure list, use it. */
     treasurelist *tlist=find_treasurelist(RP->treasurestyle);      treasurelist *tlist=find_treasurelist(RP->treasurestyle);
Line 204
 
Line 204
       the_chest->randomitems=tlist;        the_chest->randomitems=tlist;
       the_chest->stats.hp = n_treasures;        the_chest->stats.hp = n_treasures;
     }      }
   }  #endif
   else { /* neither style_map no treasure list given */    else { /* neither style_map no treasure list given */
     treasurelist *tlist=find_treasurelist("chest");      treasurelist *tlist=find_treasurelist("chest");
     the_chest->randomitems=tlist;      the_chest->randomitems=tlist;


Legend:
line(s) removed in v.1.23 
line(s) changed
 line(s) added in v.1.24

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