1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-04-01 12:06:43 +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) 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; return;
if (jump != JumpState_None) if (jump != JumpState_None)