- HITTARGET, HITMASTER and HITTRACER now apply to actors that bounce off of other actors.

This commit is contained in:
MajorCooke 2014-12-19 13:43:24 -06:00
parent 24f1bfae99
commit 31ad642843

View file

@ -3003,6 +3003,10 @@ bool P_BounceActor(AActor *mo, AActor *BlockingMobj, bool ontop)
{
if (mo->bouncecount > 0 && --mo->bouncecount == 0) return false;
if (mo->flags7 & MF7_HITTARGET) mo->target = BlockingMobj;
if (mo->flags7 & MF7_HITMASTER) mo->master = BlockingMobj;
if (mo->flags7 & MF7_HITTRACER) mo->tracer = BlockingMobj;
if (!ontop)
{
fixed_t speed;