From 74e350218526e2fe125525750eae3bad66fadbcc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 6 Sep 2009 21:24:04 +0000 Subject: [PATCH] - oops SVN r1803 (trunk) --- src/p_mobj.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 3ce2a8ca2..aa2fa324e 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -5119,13 +5119,14 @@ AActor *P_SpawnPlayerMissile (AActor *source, fixed_t x, fixed_t y, fixed_t z, MissileActor->velx = FixedMul (vx, speed); MissileActor->vely = FixedMul (vy, speed); - if (th->flags3 & (MF3_FLOORHUGGER|MF3_CEILINGHUGGER)) + if (MissileActor->flags3 & (MF3_FLOORHUGGER|MF3_CEILINGHUGGER)) { MissileActor->velz = 0; } else { MissileActor->velz = FixedMul (vz, speed); + } if (MissileActor->flags4 & MF4_SPECTRAL) MissileActor->health = -1;