Difference for server/monster.c from version 1.18 to 1.19


version 1.18 version 1.19
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.18 2001/04/13 04:13:58 mwedel Exp $";   *    "$Id: monster.c,v 1.19 2001/04/21 04:26:09 mwedel Exp $";
  */   */
   
 /*  /*
Line 695
 
Line 695
   
 int monster_use_bow(object *head, object *part, object *pl, int dir) {  int monster_use_bow(object *head, object *part, object *pl, int dir) {
   object *bow, *arrow, *owner;    object *bow, *arrow, *owner;
     int tag;
   
   if(!(dir=path_to_player(part,pl,0)))    if(!(dir=path_to_player(part,pl,0)))
     return 0;      return 0;
   if(QUERY_FLAG(head,FLAG_CONFUSED))    if(QUERY_FLAG(head,FLAG_CONFUSED))
Line 737
 
Line 739
   SET_FLAG(arrow, FLAG_FLYING);    SET_FLAG(arrow, FLAG_FLYING);
   SET_FLAG(arrow, FLAG_FLY_ON);    SET_FLAG(arrow, FLAG_FLY_ON);
   SET_FLAG(arrow, FLAG_WALK_ON);    SET_FLAG(arrow, FLAG_WALK_ON);
     tag = arrow->count;
   insert_ob_in_map(arrow,head->map,head);    insert_ob_in_map(arrow,head->map,head);
     if (!was_destroyed(arrow, tag))
   move_arrow(arrow);    move_arrow(arrow);
   return 1;    return 1;
 }  }


Legend:
line(s) removed in v.1.18 
line(s) changed
 line(s) added in v.1.19

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