- MBF21: ported the code pointers to ZScript.
So far it's just the functions and some initial changes to Dehacked's parser. None of this is usable yet.
This commit is contained in:
parent
f701ef5c68
commit
c700682a36
18 changed files with 677 additions and 60 deletions
|
|
@ -3306,7 +3306,7 @@ bool AActor::IsOkayToAttack (AActor *link)
|
|||
// its target; and for a summoned minion, its tracer.
|
||||
AActor * Friend;
|
||||
if (flags5 & MF5_SUMMONEDMONSTER) Friend = tracer;
|
||||
else if (flags2 & MF2_SEEKERMISSILE) Friend = target;
|
||||
else if (flags & MF_MISSILE) Friend = target;
|
||||
else if ((flags & MF_FRIENDLY) && FriendPlayer) Friend = Level->Players[FriendPlayer-1]->mo;
|
||||
else Friend = this;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue