From 88f96950b58af3a43286d6ccbbe71caf5f1e1869 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Fri, 22 Jan 2016 11:47:41 -0600 Subject: [PATCH] Projectiles should set their z to floor, not add it. --- src/p_mobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index d65f8b52c..9f8fbe2ea 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -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);