mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-19 16:11:23 +00:00
Added missing checking for LOOKALLAROUND.
This commit is contained in:
parent
c03f7889bf
commit
3318e540b6
1 changed files with 1 additions and 1 deletions
|
@ -2139,7 +2139,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_LookEx)
|
||||||
|
|
||||||
if (!(flags & LOF_NOSIGHTCHECK))
|
if (!(flags & LOF_NOSIGHTCHECK))
|
||||||
{
|
{
|
||||||
if (!P_LookForPlayers(self, true, ¶ms))
|
if (!P_LookForPlayers(self, (self->flags4 & MF4_LOOKALLAROUND), ¶ms)) // [RK] Account for the flag being set.
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue