Difference for server/c_wiz.c from version 1.25 to 1.26


version 1.25 version 1.26
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_c_wiz_c =   * static char *rcsid_c_wiz_c =
  *   "$Id: c_wiz.c,v 1.25 2002/09/28 07:19:40 mwedel Exp $";   *   "$Id: c_wiz.c,v 1.26 2002/10/12 05:34:29 mwedel Exp $";
  */   */
   
 /*  /*
Line 731
 
Line 731
   
     if((skill = pl->ob->chosen_skill) && ((exp_ob = pl->ob->chosen_skill->exp_obj)      if((skill = pl->ob->chosen_skill) && ((exp_ob = pl->ob->chosen_skill->exp_obj)
        || link_player_skill(pl->ob, skill))) {          || link_player_skill(pl->ob, skill))) {
       i = check_dm_add_exp_to_obj(exp_ob,i);   i = check_exp_adjust(exp_ob,i);
       exp_ob->stats.exp += i;        exp_ob->stats.exp += i;
    player_lvl_adj(pl->ob, exp_ob);
     } else {      } else {
       new_draw_info(NDI_UNIQUE, 0,op,"Can't find needed experience object.");        new_draw_info(NDI_UNIQUE, 0,op,"Can't find needed experience object.");
       new_draw_info(NDI_UNIQUE, 0,op,"Player has no associated skill readied.");        new_draw_info(NDI_UNIQUE, 0,op,"Player has no associated skill readied.");
       return 1;        return 1;
     }      }
     pl->ob->stats.exp += i;      pl->ob->stats.exp += i;
     add_exp(pl->ob,0);      player_lvl_adj(pl->ob, NULL);
 #ifndef REAL_WIZ  #ifndef REAL_WIZ
     SET_FLAG(pl->ob, FLAG_WAS_WIZ);      SET_FLAG(pl->ob, FLAG_WAS_WIZ);
 #endif  #endif


Legend:
line(s) removed in v.1.25 
line(s) changed
 line(s) added in v.1.26

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