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
1 changed files with 1 additions and 1 deletions

View File

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