Difference for server/monster.c from version 1.49 to 1.50


version 1.49 version 1.50
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_monster_c =   * static char *rcsid_monster_c =
  *    "$Id: monster.c,v 1.49 2002/09/04 05:17:06 mwedel Exp $";   *    "$Id: monster.c,v 1.50 2002/09/05 05:23:15 mwedel Exp $";
  */   */
   
 /*  /*
Line 244
 
Line 244
     if (!enemy) return 0;      if (!enemy) return 0;
   
     /* blinded monsters can only find nearby objects to attack */      /* blinded monsters can only find nearby objects to attack */
     if(QUERY_FLAG(op, FLAG_BLIND) && !QUERY_FLAG(op, FLAG_SEE_INVISIBLE))       if(QUERY_FLAG(op, FLAG_BLIND))
  radius = MIN_MON_RADIUS;   radius = MIN_MON_RADIUS;
   
     /* This covers the situation where the monster is in the dark       /* This covers the situation where the monster is in the dark
Line 1927
 
Line 1927
      * see through walls). Should we change the code elsewhere to make you        * see through walls). Should we change the code elsewhere to make you
      * blind even if you can xray?        * blind even if you can xray?
      */       */
     if(QUERY_FLAG(looker,FLAG_BLIND)&&      if(QUERY_FLAG(looker,FLAG_BLIND) && !QUERY_FLAG(looker,FLAG_XRAYS))
        (!QUERY_FLAG(looker,FLAG_SEE_INVISIBLE)||QUERY_FLAG(looker,FLAG_XRAYS)))  
      return 0;       return 0;
   
     /* checking for invisible things */      /* checking for invisible things */


Legend:
line(s) removed in v.1.49 
line(s) changed
 line(s) added in v.1.50

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