forked from mirror/openmw-tes3mp
Don't clear the animation queue when turning (Bug #3581)
Otherwise, the turnAnimationThreshold would make it difficult to estimate when we can start playing the animation.
This commit is contained in:
parent
a5d7b36c28
commit
338592b99b
1 changed files with 1 additions and 1 deletions
|
@ -1834,7 +1834,7 @@ void CharacterController::update(float duration)
|
|||
if (onground)
|
||||
cls.getCreatureStats(mPtr).land();
|
||||
|
||||
if(movestate != CharState_None)
|
||||
if(movestate != CharState_None && movestate != CharState_TurnLeft && movestate != CharState_TurnRight)
|
||||
clearAnimQueue();
|
||||
|
||||
if(mAnimQueue.empty() || inwater || sneak)
|
||||
|
|
Loading…
Reference in a new issue