mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
- Fixed: A_LookEx did not work for monsters having the MF_NOSECTOR flag.
SVN r1849 (trunk)
This commit is contained in:
parent
5822729943
commit
35a4526c1d
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue