From f484ef8ffbef38cdff03d39f419d66d527bd3113 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Wed, 26 Apr 2017 18:28:59 +0400 Subject: [PATCH] Fixed jump fatigue loss formula (fixes #3843) --- apps/openmw/mwmechanics/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index b71f31550..5981a79c9 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -1753,7 +1753,7 @@ void CharacterController::update(float duration) float normalizedEncumbrance = mPtr.getClass().getNormalizedEncumbrance(mPtr); if (normalizedEncumbrance > 1) normalizedEncumbrance = 1; - const float fatigueDecrease = fatigueJumpBase + (1 - normalizedEncumbrance) * fatigueJumpMult; + const float fatigueDecrease = fatigueJumpBase + normalizedEncumbrance * fatigueJumpMult; if (!godmode) {