Difference for common/treasure.c from version 1.16 to 1.17


version 1.16 version 1.17
Line 1
 
Line 1
   
 /*  /*
  * static char *rcs_treasure_c =   * static char *rcs_treasure_c =
  *   "$Id: treasure.c,v 1.16 2001/06/13 12:52:20 michtoen Exp $";   *   "$Id: treasure.c,v 1.17 2001/06/23 12:59:22 gros Exp $";
  */   */
   
 /*  /*
Line 1304
 
Line 1304
       free_string(op->script_throw);        free_string(op->script_throw);
     op->script_throw = add_refcount(change->script_throw);      op->script_throw = add_refcount(change->script_throw);
   }    }
     /* GROS: Added support for script_str... in artifact file */
     if (change->script_str_attack) {
       if (op->script_str_attack)
         free_string(op->script_str_attack);
       op->script_str_attack = add_refcount(change->script_str_attack);
     }
     if (change->script_str_apply) {
       if (op->script_str_apply)
         free_string(op->script_str_apply);
       op->script_str_apply = add_refcount(change->script_str_apply);
     }
     if (change->script_str_drop) {
       if (op->script_str_drop)
         free_string(op->script_str_drop);
       op->script_str_drop = add_refcount(change->script_str_drop);
     }
     if (change->script_str_say) {
       if (op->script_str_say)
         free_string(op->script_str_say);
       op->script_str_say = add_refcount(change->script_str_say);
     }
     if (change->script_str_trigger) {
       if (op->script_str_trigger)
         free_string(op->script_str_trigger);
       op->script_str_trigger = add_refcount(change->script_str_trigger);
     }
     if (change->script_str_time) {
       if (op->script_str_time)
         free_string(op->script_str_time);
       op->script_str_time = add_refcount(change->script_str_time);
     }
     if (change->script_str_throw) {
       if (op->script_str_throw)
         free_string(op->script_str_throw);
       op->script_str_throw = add_refcount(change->script_str_throw);
     }
   
 }  }
   


Legend:
line(s) removed in v.1.16 
line(s) changed
 line(s) added in v.1.17

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