Difference for server/rune.c from version 1.7 to 1.8


version 1.7 version 1.8
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_rune_c =   * static char *rcsid_rune_c =
  *   "$Id: rune.c,v 1.7 2000/06/07 23:46:18 jec Exp $";   *   "$Id: rune.c,v 1.8 2000/06/09 00:17:22 cvs Exp $";
  */   */
   
 /*  /*
Line 192
 
Line 192
  /*  if there's a disease in the needle, put it in the player */   /*  if there's a disease in the needle, put it in the player */
  if(op->randomitems!=NULL) create_treasure(op->randomitems,op,GT_INVENTORY,   if(op->randomitems!=NULL) create_treasure(op->randomitems,op,GT_INVENTORY,
  (victim->map?victim->map->difficulty:1),0);   (victim->map?victim->map->difficulty:1),0);
  if(op->inv) {   if(op->inv && op->inv->type == DISEASE) {
  object *disease=op->inv;   object *disease=op->inv;
  remove_ob(op->inv);   infect_object(victim, disease, 1);
  insert_ob_in_ob(disease,victim);   remove_ob(disease);
    free_object(disease);
  }   }
     }      }
     else  hit_map(op,0,op->attacktype);      else  hit_map(op,0,op->attacktype);


Legend:
line(s) removed in v.1.7 
line(s) changed
 line(s) added in v.1.8

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