Bug in mobact.c

From: Chris A. Epler (cepler@cisco-slip72.acc.Virginia.EDU)
Date: 05/06/95


I've sent this off to Jeremy but thought I'd post it here as well, hope it
hasn't already been discussed.

mobact.c, line 86:

  /* Aggressive Mobs */
  if (MOB_FLAGGED(ch, MOB_AGGRESSIVE)) {

                           ^- not checking for aggressive to alignment.

Fix:

  /* Aggressive Mobs */
  if (MOB_FLAGGED(ch, MOB_AGGRESSIVE) || MOB_FLAGGED(ch,MOB_AGGR_TO_ALIGN)) {

w/o that the AGGR_<alignment here> won't work of course.
(IE: the minotaur in the newbie area)

 ---------------------------------------------------------------------
[ Chris A. Epler <cepler@ucsee.eecs.berkeley.edu>                     ]
[ PGP key available, finger cepler@ucsee.eecs.berkeley.edu            ]
[ Key fingerprint: F1 B0 F4 53 33 7C B8 5D  95 6A 01 7F E3 F1 07 85   ]
 ---------------------------------------------------------------------



This archive was generated by hypermail 2b30 : 12/07/00 PST