Difference for common/treasure.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.9 2001/03/28 06:37:48 mardahl Exp $";   *   "$Id: treasure.c,v 1.10 2001/04/21 01:22:43 mardahl Exp $";
  */   */
   
 /*  /*
Line 858
 
Line 858
       break;        break;
     }      }
   if (op->type == POTION && special_potion(op)) {    if (op->type == POTION && special_potion(op)) {
     op->face = potion_face;      /*if(op->face==blank_face) op->face = potion_face;*/
     free_string(op->name);      free_string(op->name);
     op->name = add_string("potion");      op->name = add_string("potion");
     op->level = spells[op->stats.sp].level/2+ RANDOM()%difficulty + RANDOM()%difficulty;      op->level = spells[op->stats.sp].level/2+ RANDOM()%difficulty + RANDOM()%difficulty;


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

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