- 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
commit 35a4526c1d
2 changed files with 3 additions and 0 deletions

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)
{