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.
0.6.1
scrawl 8 years ago
parent a5d7b36c28
commit 338592b99b

@ -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…
Cancel
Save