Difference for server/time.c from version 1.11 to 1.12


version 1.11 version 1.12
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.11 2000/10/16 19:19:31 peterm Exp $";   *    "$Id: time.c,v 1.12 2000/10/23 18:13:56 peterm Exp $";
  */   */
   
 /*  /*
Line 362
 
Line 362
  object *tmp2;   object *tmp2;
  if(op->stats.hp) {   if(op->stats.hp) {
    for(tmp2= tmp->inv;tmp2;tmp2=tmp2->below) {     for(tmp2= tmp->inv;tmp2;tmp2=tmp2->below) {
  if(!strcmp(op->slaying,tmp->name)) detected=1;   if(op->slaying && !strcmp(op->slaying,tmp->name)) detected=1;
  if(tmp2->type==FORCE && !strcmp(tmp2->slaying,op->slaying)) detected=1;   if(tmp2->type==FORCE &&tmp2->slaying && !strcmp(tmp2->slaying,op->slaying)) detected=1;
    }     }
  }   }
  if (!strcmp(op->slaying,tmp->name)) {   if (op->slaying && !strcmp(op->slaying,tmp->name)) {
    detected = 1;     detected = 1;
  }   }
  else if (tmp->type==SPECIAL_KEY && tmp->slaying==op->slaying)   else if (tmp->type==SPECIAL_KEY && tmp->slaying==op->slaying)


Legend:
line(s) removed in v.1.11 
line(s) changed
 line(s) added in v.1.12

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