1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

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:
scrawl 2017-03-23 19:45:59 +01:00
parent a5d7b36c28
commit 338592b99b

View file

@ -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)