And according to the commentary in actor.h:HITTARGET, HITMASTER, and HITTRACER.
A missile that dies hitting an actor will set this impacted actor as the new target/master/tracer, depending on specifications.
The way I understand it, these flags are supposed to be used on missiles, correct? However, when I look at the code it seems that it's the victim's flags which are checked rather than the missile's.MF7_HITTARGET = 0x00004000, // The actor the projectile dies on is set to target, provided it's targetable anyway.
MF7_HITMASTER = 0x00008000, // Same as HITTARGET, except it's master instead of target.
MF7_HITTRACER = 0x00010000, // Same as HITTARGET, but for tracer.
This is what it looks like right now:
Code: Select all
if (target->flags7 & MF7_HITTARGET) mo->target = target;
if (target->flags7 & MF7_HITMASTER) mo->master = target;
if (target->flags7 & MF7_HITTRACER) mo->tracer = target;
Code: Select all
if (mo->flags7 & MF7_HITTARGET) mo->target = target;
if (mo->flags7 & MF7_HITMASTER) mo->master = target;
if (mo->flags7 & MF7_HITTRACER) mo->tracer = target;