- Added Skulltag's PUFFGETSOWNER flag.
SVN r967 (trunk)
This commit is contained in:
parent
0869b51928
commit
99f55e8b8f
4 changed files with 7 additions and 0 deletions
|
|
@ -2769,6 +2769,9 @@ AActor *P_LineAttack (AActor *t1, angle_t angle, fixed_t distance,
|
|||
puff->Destroy();
|
||||
puff = NULL;
|
||||
}
|
||||
// [BB] If the puff came from a player, set the target of the puff to this player.
|
||||
if ( puff && (puff->flags5 & MF5_PUFFGETSOWNER) && t1 && t1->player )
|
||||
puff->target = t1;
|
||||
return puff;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue