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


version 1.16 version 1.17
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_item_c =   * static char *rcsid_item_c =
  *   "$Id: item.c,v 1.16 2001/04/21 01:22:43 mardahl Exp $";   *   "$Id: item.c,v 1.17 2001/06/12 04:29:44 mwedel Exp $";
  */   */
   
 /*  /*
Line 864
 
Line 864
     /* Physical protection is expected on some item types, so they should      /* Physical protection is expected on some item types, so they should
      * not be considered magical.       * not be considered magical.
      */       */
     if (op->resist[ATNR_PHYSICAL] && op->type != HELMET && op->type != SHIELD      if (op->resist[ATNR_PHYSICAL] && op->type != HELMET && op->type != SHIELD &&
  && op->type != ARMOUR) return 1;   op->type != BOOTS && op->type != GLOVES && op->type != ARMOUR) return 1;
    
    /* power crystal, spellbooks, and scrolls are always magical.  */     /* power crystal, spellbooks, and scrolls are always magical.  */
    if (op->magic || op->type==POWER_CRYSTAL || op->type==SPELLBOOK ||      if (op->magic || op->type==POWER_CRYSTAL || op->type==SPELLBOOK ||


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:08