Difference for common/item.c from version 1.40 to 1.41


version 1.40 version 1.41
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *   "$Id: item.c,v 1.40 2004/02/28 10:40:56 ryo_saeba Exp $";   *   "$Id: item.c,v 1.41 2004/03/07 10:04:20 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 205
 
Line 205
     if(QUERY_FLAG(op,FLAG_SEE_IN_DARK))     enc += 1;      if(QUERY_FLAG(op,FLAG_SEE_IN_DARK))     enc += 1;
     if(QUERY_FLAG(op,FLAG_MAKE_INVIS))     enc += 1;      if(QUERY_FLAG(op,FLAG_MAKE_INVIS))     enc += 1;
   
 #if 0      return get_power_from_ench(enc);
     if (enc > 20) {  
  LOG(llevDebug,"calc_item_power got %d enchantments for %s\n", enc, op->name?op->name:"(null)");  
  enc = 20;  
     }  
 #endif  
     /* Items only have a positive power rating */  
     if (enc < 0) enc = 0;  
   
     return enc_to_item_power[enc];  
   
 }  }
   


Legend:
line(s) removed in v.1.40 
line(s) changed
 line(s) added in v.1.41

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