Difference for server/rune.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_rune_c =   * static char *rcsid_rune_c =
  *   "$Id: rune.c,v 1.2 1999/07/13 06:03:04 cvs Exp $";   *   "$Id: rune.c,v 1.3 1999/08/22 23:39:51 cvs Exp $";
  */   */
   
 /*  /*
Line 193
 
Line 193
  hit_player(victim,op->stats.dam,op,op->attacktype);   hit_player(victim,op->stats.dam,op,op->attacktype);
  /*  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->difficulty,0);   (victim->map?victim->map->difficulty:1),0);
  if(op->inv) {   if(op->inv) {
  object *disease=op->inv;   object *disease=op->inv;
  remove_ob(op->inv);   remove_ob(op->inv);
Line 201
 
Line 201
  }   }
   }    }
    else  hit_map(op,0,op->attacktype);     else  hit_map(op,0,op->attacktype);
    
 }  }
   
 /*  This function generalizes attacks by runes/traps.  This ought to make  /*  This function generalizes attacks by runes/traps.  This ought to make


Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3

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