Difference for common/item.c from version 1.53 to 1.54


version 1.53 version 1.54
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *   "$Id: item.c,v 1.53 2005/10/21 19:03:24 cavesomething Exp $";   *   "$Id: item.c,v 1.54 2005/10/28 19:08:53 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 403
 
Line 403
   
 char *query_weight(object *op) {  char *query_weight(object *op) {
   static char buf[10];    static char buf[10];
   sint32 i=op->nrof?op->nrof*op->weight:op->weight+op->carrying;    sint32 i=(op->nrof?op->nrof:1)*op->weight+op->carrying;
   
   if(op->weight<0)    if(op->weight<0)
     return "      ";      return "      ";


Legend:
line(s) removed in v.1.53 
line(s) changed
 line(s) added in v.1.54

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