- moved NOTELESTOMP to flags7. When committing I was accidentally on maint instead of master and in master flags6 was already full.

This commit is contained in:
Christoph Oelckers 2013-08-12 20:41:33 +02:00
commit e14590d8ce
5 changed files with 13 additions and 4 deletions

View file

@ -1508,6 +1508,9 @@ bool AActor::OkayToSwitchTarget (AActor *other)
if (other == this)
return false; // [RH] Don't hate self (can happen when shooting barrels)
if (other->flags7 & MF7_NEVERTARGET)
return false; // never EVER target me!
if (!(other->flags & MF_SHOOTABLE))
return false; // Don't attack things that can't be hurt