mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 10:36:42 +00:00
Make sure the idle animations are reset while jumping
This commit is contained in:
parent
56ef11b023
commit
77fb4d6dd2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue