mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- fixed: LookForEnemiesInBlock needs to check for MF7_NEVERTARGET.
This commit is contained in:
parent
62830f7927
commit
116defbb35
1 changed files with 3 additions and 0 deletions
|
@ -1425,6 +1425,9 @@ AActor *LookForEnemiesInBlock (AActor *lookee, int index, void *extparam)
|
||||||
if (!(link->flags3 & MF3_ISMONSTER))
|
if (!(link->flags3 & MF3_ISMONSTER))
|
||||||
continue; // don't target it if it isn't a monster (could be a barrel)
|
continue; // don't target it if it isn't a monster (could be a barrel)
|
||||||
|
|
||||||
|
if (link->flags7 & MF7_NEVERTARGET)
|
||||||
|
continue;
|
||||||
|
|
||||||
other = NULL;
|
other = NULL;
|
||||||
if (link->flags & MF_FRIENDLY)
|
if (link->flags & MF_FRIENDLY)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue