Difference for server/skill_util.c from version 1.47 to 1.48


version 1.47 version 1.48
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skill_util_c =   * static char *rcsid_skill_util_c =
  *   "$Id: skill_util.c,v 1.47 2004/04/08 06:48:51 mwedel Exp $";   *   "$Id: skill_util.c,v 1.48 2004/06/06 16:25:40 ryo_saeba Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 229
 
Line 229
   
 int change_skill (object *who, object *new_skill, int flag)  int change_skill (object *who, object *new_skill, int flag)
 {  {
     int old_range = who->contr->shoottype;      int old_range;
   
       if ( who->type != PLAYER )
           return 0;
      
       old_range = who->contr->shoottype;
   
     if (who->chosen_skill && who->chosen_skill == new_skill)      if (who->chosen_skill && who->chosen_skill == new_skill)
     {      {


Legend:
line(s) removed in v.1.47 
line(s) changed
 line(s) added in v.1.48

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