Difference for server/pets.c from version 1.23 to 1.24


version 1.23 version 1.24
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_pets_c =   * static char *rcsid_pets_c =
  *    "$Id: pets.c,v 1.23 2004/05/04 07:14:53 mwedel Exp $";   *    "$Id: pets.c,v 1.24 2004/05/12 05:52:39 mwedel Exp $";
  */   */
   
 /*  /*
Line 446
 
Line 446
     head->direction = dir;      head->direction = dir;
   
     /* need to change some monster attr to prevent problems/crashing */      /* need to change some monster attr to prevent problems/crashing */
     if(head->last_heal) head->last_heal=0;      head->last_heal=0;
     if(head->last_eat) head->last_eat=0;      head->last_eat=0;
     if(head->last_grace) head->last_grace=0;      head->last_grace=0;
     if(head->last_sp) head->last_sp=0;      head->last_sp=0;
       head->other_arch=NULL;
       head->stats.exp = 0;
       CLEAR_FLAG(head,FLAG_CHANGING);
       CLEAR_FLAG(head,FLAG_STAND_STILL);
       CLEAR_FLAG(head,FLAG_GENERATOR);
       CLEAR_FLAG(head,FLAG_SPLITTING);
     if(head->attacktype&AT_GHOSTHIT) head->attacktype=(AT_PHYSICAL|AT_DRAIN);      if(head->attacktype&AT_GHOSTHIT) head->attacktype=(AT_PHYSICAL|AT_DRAIN);
     if(head->other_arch) head->other_arch=NULL;  
     if(QUERY_FLAG(head,FLAG_CHANGING)) CLEAR_FLAG(head,FLAG_CHANGING);  
     if(QUERY_FLAG(head,FLAG_STAND_STILL)) CLEAR_FLAG(head,FLAG_STAND_STILL);  
     if(QUERY_FLAG(head,FLAG_GENERATOR)) CLEAR_FLAG(head,FLAG_GENERATOR);  
     if(QUERY_FLAG(head,FLAG_SPLITTING)) CLEAR_FLAG(head,FLAG_SPLITTING);  
   
     return head;      return head;
 }  }
Line 902
 
Line 903
      tmp->map = op->map;       tmp->map = op->map;
  }   }
  head->direction = dir;   head->direction = dir;
    head->stats.exp = 0;
  head = insert_ob_in_map(head, head->map, op, 0);   head = insert_ob_in_map(head, head->map, op, 0);
  if (head && head->randomitems) {   if (head && head->randomitems) {
      object *tmp;       object *tmp;


Legend:
line(s) removed in v.1.23 
line(s) changed
 line(s) added in v.1.24

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