From 77fb4d6dd2d8ea589e8befe55a5075fdfbad2b0c Mon Sep 17 00:00:00 2001 From: Capostrophic Date: Sun, 23 Sep 2018 14:06:04 +0300 Subject: [PATCH] Make sure the idle animations are reset while jumping --- 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 c437a21d5..27170d6a8 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -353,7 +353,7 @@ void CharacterController::refreshHitRecoilAnims(CharacterState& idle) void CharacterController::refreshJumpAnims(const WeaponInfo* weap, JumpingState jump, CharacterState& idle, CharacterState& movement, bool force) { - if (!force && jump == mJumpState && movement == CharState_None) + if (!force && jump == mJumpState && idle == CharState_None && movement == CharState_None) return; if (jump != JumpState_None)