Difference for server/monster.c from version 1.66 to 1.67


version 1.66 version 1.67
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.66 2003/09/13 05:02:11 mwedel Exp $";   *    "$Id: monster.c,v 1.67 2003/10/26 06:56:57 mwedel Exp $";
  */   */
   
 /*  /*
Line 1748
 
Line 1748
  int bonus = (op->level/2) + (op->stats.Int/5);   int bonus = (op->level/2) + (op->stats.Int/5);
   
  if(enemy->type==PLAYER) {   if(enemy->type==PLAYER) {
      if((sk_hide = find_skill(enemy,SK_HIDING)))       if((sk_hide = find_skill_by_number(enemy,SK_HIDING)))
  bonus -= sk_hide->level;   bonus -= sk_hide->level;
      else {        else {
  LOG(llevError,"can_detect_enemy() got hidden player w/o hiding skill!");   LOG(llevError,"can_detect_enemy() got hidden player w/o hiding skill!");


Legend:
line(s) removed in v.1.66 
line(s) changed
 line(s) added in v.1.67

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