From 1ce162a95cb75be65f8fb74c73e2f06a627f26eb Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Mon, 15 Aug 2022 22:08:59 +0300 Subject: [PATCH] Correct follow animation attack strength dependence --- 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 79906dc2ac..38789412fa 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -1640,7 +1640,7 @@ bool CharacterController::updateWeaponState() if (mAttackType != "shoot") { - std::string strength = mAttackStrength < 0.5f ? "small" : mAttackStrength < 1.f ? "medium" : "large"; + std::string strength = mAttackStrength < 0.33f ? "small" : mAttackStrength < 0.66f ? "medium" : "large"; start = strength + ' ' + start; stop = strength + ' ' + stop; }