1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

Make sure the idle animations are reset while jumping

This commit is contained in:
Capostrophic 2018-09-23 14:06:04 +03:00
parent 56ef11b023
commit 77fb4d6dd2

View File

@ -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)