Difference for common/item.c from version 1.27 to 1.28


version 1.27 version 1.28
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *   "$Id: item.c,v 1.27 2002/09/24 06:29:31 mwedel Exp $";   *   "$Id: item.c,v 1.28 2002/10/04 05:59:28 mwedel Exp $";
  */   */
   
 /*  /*
Line 1184
 
Line 1184
     SET_FLAG(op,FLAG_KNOWN_CURSED);      SET_FLAG(op,FLAG_KNOWN_CURSED);
   
   if (op->type == POTION && op->arch != (archetype *) NULL) {    if (op->type == POTION && op->arch != (archetype *) NULL) {
     /*op->face = op->arch->clone.face; */  
       free_string(op->name);        free_string(op->name);
       op->name = add_refcount(op->arch->clone.name);        op->name = add_refcount(op->arch->clone.name);
         free_string(op->name_pl);
         op->name_pl = add_refcount(op->arch->clone.name_pl);
   } else if( op->type == SPELLBOOK && op->slaying != NULL){    } else if( op->type == SPELLBOOK && op->slaying != NULL){
        if((op->stats.sp = look_up_spell_name( op->slaying )) <0 ){         if((op->stats.sp = look_up_spell_name( op->slaying )) <0 ){
    char buf[256];     char buf[256];


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

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