Difference for common/treasure.c from version 1.28 to 1.29


version 1.28 version 1.29
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.28 2002/07/15 04:57:12 mwedel Exp $";   *   "$Id: treasure.c,v 1.29 2002/08/26 07:14:10 mwedel Exp $";
  */   */
   
 /*  /*
Line 74
 
Line 74
   treasurelist *tl = (treasurelist *) malloc(sizeof(treasurelist));    treasurelist *tl = (treasurelist *) malloc(sizeof(treasurelist));
   if(tl==NULL)    if(tl==NULL)
     fatal(OUT_OF_MEMORY);      fatal(OUT_OF_MEMORY);
   tl->name=NULL;    memset(tl, 0, sizeof(treasurelist));
   tl->next=NULL;  
   tl->items=NULL;  
   tl->total_chance=0;  
   return tl;    return tl;
 }  }
   


Legend:
line(s) removed in v.1.28 
line(s) changed
 line(s) added in v.1.29

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