- 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:
parent
44a1b94ad9
commit
e14590d8ce
5 changed files with 13 additions and 4 deletions
|
|
@ -830,7 +830,7 @@ void AActor::CopyFriendliness (AActor *other, bool changeTarget, bool resetHealt
|
|||
flags4 = (flags4 & ~(MF4_NOHATEPLAYERS | MF4_BOSSSPAWNED)) | (other->flags4 & (MF4_NOHATEPLAYERS | MF4_BOSSSPAWNED));
|
||||
FriendPlayer = other->FriendPlayer;
|
||||
DesignatedTeam = other->DesignatedTeam;
|
||||
if (changeTarget && other->target != NULL && !(other->target->flags3 & MF3_NOTARGET))
|
||||
if (changeTarget && other->target != NULL && !(other->target->flags3 & MF3_NOTARGET) && !(other->target->flags7 & MF7_NEVERTARGET))
|
||||
{
|
||||
// LastHeard must be set as well so that A_Look can react to the new target if called
|
||||
LastHeard = target = other->target;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue