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:
parent
56ef11b023
commit
77fb4d6dd2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user