SVN r1851 (trunk)
This commit is contained in:
Christoph Oelckers 2009-09-16 23:21:16 +00:00
parent f39c5c3b5a
commit 555f41b0ba

View file

@ -1841,7 +1841,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_LookEx)
{ {
if (!(flags & LOF_NOSOUNDCHECK)) if (!(flags & LOF_NOSOUNDCHECK))
{ {
targ = self->flags & MF_NOSECTOR)? self->Sector->SoundTarget : self->LastHeard; targ = (self->flags & MF_NOSECTOR)? self->Sector->SoundTarget : self->LastHeard;
if (targ != NULL) if (targ != NULL)
{ {
// [RH] If the soundtarget is dead, don't chase it // [RH] If the soundtarget is dead, don't chase it