Merge pull request #504 from MajorCooke/floorprojectiles

Projectiles Under Floor Fix
This commit is contained in:
coelckers 2016-01-22 19:02:12 +01:00
commit 81b3f48792

View file

@ -2422,7 +2422,7 @@ void P_ZMovement (AActor *mo, fixed_t oldfloorz)
{
if ((mo->flags & MF_MISSILE) && !(mo->flags & MF_NOCLIP))
{
mo->AddZ(mo->floorz);
mo->SetZ(mo->floorz);
if (mo->BounceFlags & BOUNCE_Floors)
{
mo->FloorBounceMissile (mo->floorsector->floorplane);