Difference for server/skill_util.c from version 1.38 to 1.39


version 1.38 version 1.39
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skill_util_c =   * static char *rcsid_skill_util_c =
  *   "$Id: skill_util.c,v 1.38 2003/03/08 05:35:32 mwedel Exp $";   *   "$Id: skill_util.c,v 1.39 2003/09/04 06:25:32 temitchell Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 314
 
Line 314
     if(!op) { /* no item/creature */       if(!op) { /* no item/creature */
         op_lvl= who->map->difficulty < 1 ? 1: who->map->difficulty;          op_lvl= who->map->difficulty < 1 ? 1: who->map->difficulty;
         op_exp = 0;          op_exp = 0;
     } else if(op->type==RUNE) { /* all traps. If stats.Cha > 1 we use that      } else if(op->type==RUNE || op->type==TRAP) { /* all traps. If stats.Cha > 1 we use that
  * for the amount of experience */   * for the amount of experience */
         op_exp = op->stats.Cha>1 ? op->stats.Cha : op->stats.exp;          op_exp = op->stats.Cha>1 ? op->stats.Cha : op->stats.exp;
         op_lvl = op->level;          op_lvl = op->level;


Legend:
line(s) removed in v.1.38 
line(s) changed
 line(s) added in v.1.39

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