- Added Thomas's submissions for decal assignment to puffs and NOINFIGHTING flag.
SVN r847 (trunk)
This commit is contained in:
parent
7e900c1016
commit
1e81eb0fee
3 changed files with 22 additions and 4 deletions
|
|
@ -1270,8 +1270,9 @@ bool AActor::OkayToSwitchTarget (AActor *other)
|
|||
}
|
||||
|
||||
int infight;
|
||||
if (level.flags & LEVEL_TOTALINFIGHTING) infight=1;
|
||||
else if (level.flags & LEVEL_NOINFIGHTING) infight=-1;
|
||||
if (flags5 & MF5_NOINFIGHTING) infight=-1;
|
||||
else if (level.flags & LEVEL_TOTALINFIGHTING) infight=1;
|
||||
else if (level.flags & LEVEL_NOINFIGHTING) infight=-1;
|
||||
else infight = infighting;
|
||||
|
||||
if (infight < 0 && other->player == NULL && !IsHostile (other))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue