- Fixed: A_LookEx did not work for monsters having the MF_NOSECTOR flag.

SVN r1849 (trunk)
This commit is contained in:
Christoph Oelckers 2009-09-16 22:45:28 +00:00
parent 5822729943
commit 35a4526c1d
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
September 16, 2009 (Changes by Graf Zahl)
- Fixed: A_LookEx did not work for monsters having the MF_NOSECTOR flag.
- Fixed: The deprecated flag handler for the old bounce flags needs to clear
BOUNCE_MBF and BOUNCE_UseSeeSound, too, when clearing one of these flags.
- Fixed: When adding the AVOIDMELEE code the code was accidentally changed so that

View File

@ -1841,6 +1841,8 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_LookEx)
{
if (!(flags & LOF_NOSOUNDCHECK))
{
targ = self->flags & MF_NOSECTOR)? self->Sector->SoundTarget : self->LastHeard;
targ = self->LastHeard;
if (targ != NULL)
{