- Fixed: Bouncing missiles landing on an actor would just stop rather than bounce.

SVN r3596 (trunk)
This commit is contained in:
Randy Heit 2012-04-26 03:30:02 +00:00
parent 8632c0db04
commit 01dacce549

View file

@ -3305,11 +3305,19 @@ void AActor::Tick ()
} }
z = onmo->z + onmo->height; z = onmo->z + onmo->height;
} }
if (velz != 0 && (flags & MF_MISSILE) && (BounceFlags & BOUNCE_Actors))
{
secplane_t plane = { 0, 0, FRACUNIT, -z, FRACUNIT };
FloorBounceMissile(plane);
}
else
{
flags2 |= MF2_ONMOBJ; flags2 |= MF2_ONMOBJ;
velz = 0; velz = 0;
Crash(); Crash();
} }
} }
}
else else
{ {
P_ZMovement (this, oldfloorz); P_ZMovement (this, oldfloorz);