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


version 1.16 version 1.17
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_living_c =   * static char *rcsid_living_c =
  *   "$Id: living.c,v 1.16 2000/12/15 15:36:25 avogl Exp $";   *   "$Id: living.c,v 1.17 2000/12/17 00:39:16 cvs Exp $";
  */   */
   
 /*  /*
Line 1096
 
Line 1096
    * 'total resistance = vulnerability from cursed potion'. */     * 'total resistance = vulnerability from cursed potion'. */
   for (i=0; i<NROFATTACKS; i++) {    for (i=0; i<NROFATTACKS; i++) {
     op->resist[i] = prot[i] - vuln[i];      op->resist[i] = prot[i] - vuln[i];
     if (potion_resist[i] && potion_resist[i] > op->resist[i] ||      if (potion_resist[i] && ((potion_resist[i] > op->resist[i]) ||
  potion_resist[i] < 0)   (potion_resist[i] < 0)))
       op->resist[i] = potion_resist[i];        op->resist[i] = potion_resist[i];
     }      }
      


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