Add HITOWNER flag, when set, allows a projectile to collide with its shooter.
This commit is contained in:
parent
02926a5567
commit
155afebb65
3 changed files with 4 additions and 2 deletions
|
|
@ -1554,8 +1554,8 @@ bool PIT_CheckThing(FMultiBlockThingsIterator &it, FMultiBlockThingsIterator::Ch
|
|||
|
||||
if (tm.thing->target != NULL)
|
||||
{
|
||||
if (thing == tm.thing->target)
|
||||
{ // Don't missile self
|
||||
if (thing == tm.thing->target && !(tm.thing->flags8 & MF8_HITOWNER))
|
||||
{ // Don't missile self -- [MK] unless explicitly allowed
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue