From 20d0cc717b4ba16df98425ed0e177272a8913ac0 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 12 May 2013 19:05:00 +0000 Subject: [PATCH] - Fix previous fix: Don't zero the velocity when a missile steps up and bounces. SVN r4262 (trunk) --- src/p_map.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index c2e067686..7a1da4d1e 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -1834,12 +1834,15 @@ bool P_TryMove (AActor *thing, fixed_t x, fixed_t y, // If moving down, cancel vertical component of the velocity if (thing->velz < 0) { - thing->velz = 0; // If it's a bouncer, let it bounce off its new floor, too. if (thing->BounceFlags & BOUNCE_Floors) { thing->FloorBounceMissile (tm.floorsector->floorplane); } + else + { + thing->velz = 0; + } } } }