Difference for server/skills.c from version 1.63 to 1.64


version 1.63 version 1.64
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skills_c =   * static char *rcsid_skills_c =
  *   "$Id: skills.c,v 1.63 2005/08/12 13:46:34 ryo_saeba Exp $";   *   "$Id: skills.c,v 1.64 2005/09/13 06:46:35 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 756
 
Line 756
     }      }
   
     /* it's already allied! */       /* it's already allied! */
     if(QUERY_FLAG(tmp,FLAG_FRIENDLY)&&(tmp->move_type==PETMOVE)){        if(QUERY_FLAG(tmp,FLAG_FRIENDLY)&&(tmp->attack_movement==PETMOVE)){ 
  if(get_owner(tmp)==pl) {   if(get_owner(tmp)==pl) {
      new_draw_info(NDI_UNIQUE, 0,pl,        new_draw_info(NDI_UNIQUE, 0,pl,
        "Your follower loves your speech.\n");         "Your follower loves your speech.\n");
Line 791
 
Line 791
  tmp->stats.exp = 0;   tmp->stats.exp = 0;
  add_friendly_object(tmp);   add_friendly_object(tmp);
  SET_FLAG(tmp,FLAG_FRIENDLY);   SET_FLAG(tmp,FLAG_FRIENDLY);
  tmp->move_type = PETMOVE;   tmp->attack_movement = PETMOVE;
  return calc_skill_exp(pl,tmp, skill);   return calc_skill_exp(pl,tmp, skill);
     }      }
     /* Charm failed.  Creature may be angry now */      /* Charm failed.  Creature may be angry now */
Line 801
 
Line 801
  if(QUERY_FLAG(tmp,FLAG_FRIENDLY)) {   if(QUERY_FLAG(tmp,FLAG_FRIENDLY)) {
      CLEAR_FLAG(tmp,FLAG_FRIENDLY);       CLEAR_FLAG(tmp,FLAG_FRIENDLY);
      remove_friendly_object(tmp);       remove_friendly_object(tmp);
      tmp->move_type = 0; /* needed? */        tmp->attack_movement = 0; /* needed? */
  }   }
  CLEAR_FLAG(tmp,FLAG_UNAGGRESSIVE);   CLEAR_FLAG(tmp,FLAG_UNAGGRESSIVE);
     }      }


Legend:
line(s) removed in v.1.63 
line(s) changed
 line(s) added in v.1.64

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