Difference for common/utils.c from version 1.21 to 1.22


version 1.21 version 1.22
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_utils_c =   * static char *rcsid_utils_c =
  *   "$Id: utils.c,v 1.21 2005/10/21 19:03:24 cavesomething Exp $";   *   "$Id: utils.c,v 1.22 2006/01/08 22:47:56 qal21 Exp $";
  */   */
   
 /*  /*
Line 335
 
Line 335
 #ifndef NEW_MATERIAL_CODE  #ifndef NEW_MATERIAL_CODE
  op->materialname = add_string(lmt->name);   op->materialname = add_string(lmt->name);
  return;   return;
 #endif  #else
   
  if (op->stats.dam && IS_WEAPON(op)) {   if (op->stats.dam && IS_WEAPON(op)) {
      op->stats.dam += lmt->damage;       op->stats.dam += lmt->damage;
Line 364
 
Line 364
      op->weight = (op->weight * lmt->weight)/100;       op->weight = (op->weight * lmt->weight)/100;
      op->value = (op->value * lmt->value)/100;       op->value = (op->value * lmt->value)/100;
  }   }
   #endif
     }      }
 }  }
   


Legend:
line(s) removed in v.1.21 
line(s) changed
 line(s) added in v.1.22

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