Difference for server/monster.c from version 1.44 to 1.45


version 1.44 version 1.45
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.44 2002/07/15 04:57:13 mwedel Exp $";   *    "$Id: monster.c,v 1.45 2002/07/19 04:21:18 mwedel Exp $";
  */   */
   
 /*  /*
Line 746
 
Line 746
   
 int monster_use_scroll(object *head, object *part,object *pl,int dir, rv_vector *rv) {  int monster_use_scroll(object *head, object *part,object *pl,int dir, rv_vector *rv) {
     object *scroll;      object *scroll;
     spell *sp;  
     object *owner;      object *owner;
     rv_vector rv1;      rv_vector rv1;
   
Line 778
 
Line 777
  return 0;   return 0;
     }      }
   
     if (sp->onself) /* Spell should be cast on caster (ie, heal, strength) */      if (spells[scroll->stats.sp].onself) /* Spell should be cast on caster (ie, heal, strength) */
  dir = 0;   dir = 0;
   
     apply_scroll(part, scroll, dir);      apply_scroll(part, scroll, dir);


Legend:
line(s) removed in v.1.44 
line(s) changed
 line(s) added in v.1.45

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