This commit is contained in:
Christoph Oelckers 2013-08-18 12:20:38 +02:00
commit 0a62e177d1

View file

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