From 0ef00cdf6edc0a096576b987f8201340743de076 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 12 May 2013 19:02:15 +0000 Subject: [PATCH] - Fixed: Missiles with STEPMISSILE set should probably be able to bounce off the floor they step up onto. SVN r4261 (trunk) --- src/p_map.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/p_map.cpp b/src/p_map.cpp index eec20019e1..c2e067686c 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -1835,6 +1835,11 @@ bool P_TryMove (AActor *thing, fixed_t x, fixed_t y, 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); + } } } }