Difference for common/treasure.c from version 1.63 to 1.64


version 1.63 version 1.64
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.63 2006/01/07 18:56:51 akirschbaum Exp $";   *   "$Id: treasure.c,v 1.64 2006/02/09 00:48:36 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 157
 
Line 157
 /* recursived checks the linked list.  Treasurelist is passed only  /* recursived checks the linked list.  Treasurelist is passed only
  * so that the treasure name can be printed out   * so that the treasure name can be printed out
  */   */
 static void check_treasurelist(treasure *t, treasurelist *tl)  static void check_treasurelist(const treasure *t, const treasurelist *tl)
 {  {
     if (t->item==NULL && t->name==NULL)      if (t->item==NULL && t->name==NULL)
  LOG(llevError,"Treasurelist %s has element with no name or archetype\n", tl->name);   LOG(llevError,"Treasurelist %s has element with no name or archetype\n", tl->name);
Line 485
 
Line 485
  * This code presumes that op has had its spell object created (in op->inv)   * This code presumes that op has had its spell object created (in op->inv)
  */   */
   
 int level_for_item(object *op, int difficulty, int retmult)  int level_for_item(const object *op, int difficulty, int retmult)
 {  {
     int level, mult, olevel;      int level, mult, olevel;
   


Legend:
line(s) removed in v.1.63 
line(s) changed
 line(s) added in v.1.64

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