Don't disturb monsters witth their own sound

A monster making noise was causing an ME_DISTURB behaviour_event() for itself, possibly causing it to get a new foe, which could cause strange results if it switched foes during the middle of spell-casting when it made noise from chanting. Now noisy() can accept a "who" parameter, in which case the monster which caused the noise will ignore the noise. This is done in all cases except for when a monster of animal or lower intelligence sets off an alarm trap or does a spell miscast.

Created by  Matthew Cline  on October 21, 2009
X4VO6QMQL7BISFKREOENAPNKIIKGFNNKX33DUEI7PRO7U6O2XQYQC
Change contents