From 354a89e3bc534de62a22d3d3147ef7051ea04a3f Mon Sep 17 00:00:00 2001 From: ShadowRadiance Date: Sat, 26 Nov 2016 06:27:11 -0500 Subject: [PATCH 1/2] Slowfall now reduces momentum based on magnitude when jumping (Allows Constant Effect Slowfall to work as in MW) --- apps/openmw/mwphysics/physicssystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwphysics/physicssystem.cpp b/apps/openmw/mwphysics/physicssystem.cpp index cc3ba40e1..246e5eb59 100644 --- a/apps/openmw/mwphysics/physicssystem.cpp +++ b/apps/openmw/mwphysics/physicssystem.cpp @@ -450,8 +450,8 @@ namespace MWPhysics if (inertia.z() < 0) inertia.z() *= slowFall; if (slowFall < 1.f) { - inertia.x() = 0; - inertia.y() = 0; + inertia.x() *= slowFall; + inertia.y() *= slowFall; } physicActor->setInertialForce(inertia); } From be14ce414e53cdc84513c84200418ccd9174d943 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 27 Nov 2016 05:36:48 +0100 Subject: [PATCH 2/2] Update AUTHORS.md --- AUTHORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.md b/AUTHORS.md index a876bcbfd..7f1f91892 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -120,6 +120,7 @@ Programmers Scott Howard Sebastian Wick (swick) Sergey Shambir + ShadowRadiance sir_herrbatka smbas Stefan Galowicz (bogglez)