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


version 1.64 version 1.65
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.64 2006/02/09 00:48:36 akirschbaum Exp $";   *   "$Id: treasure.c,v 1.65 2006/04/06 21:18:34 tchize Exp $";
  */   */
   
 /*  /*
Line 827
 
Line 827
      if (op->stats.sp && !op->randomitems) {       if (op->stats.sp && !op->randomitems) {
  object *tmp;   object *tmp;
   
  tmp = get_archetype(spell_mapping[op->stats.sp]);   tmp = create_archetype(spell_mapping[op->stats.sp]);
  insert_ob_in_ob(tmp, op);   insert_ob_in_ob(tmp, op);
  op->stats.sp=0;   op->stats.sp=0;
      }       }
Line 858
 
Line 858
  if (op->stats.sp && !op->randomitems) {   if (op->stats.sp && !op->randomitems) {
      object *tmp;       object *tmp;
   
      tmp = get_archetype(spell_mapping[op->stats.sp]);       tmp = create_archetype(spell_mapping[op->stats.sp]);
      insert_ob_in_ob(tmp, op);       insert_ob_in_ob(tmp, op);
      op->stats.sp=0;       op->stats.sp=0;
  }   }


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

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