- 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,9 +3305,17 @@ void AActor::Tick ()
}
z = onmo->z + onmo->height;
}
flags2 |= MF2_ONMOBJ;
velz = 0;
Crash();
if (velz != 0 && (flags & MF_MISSILE) && (BounceFlags & BOUNCE_Actors))
{
secplane_t plane = { 0, 0, FRACUNIT, -z, FRACUNIT };
FloorBounceMissile(plane);
}
else
{
flags2 |= MF2_ONMOBJ;
velz = 0;
Crash();
}
}
}
else