From 338592b99b7a9b6f38ec90829bf5d3df95a31d4a Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 23 Mar 2017 19:45:59 +0100 Subject: [PATCH] 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. --- apps/openmw/mwmechanics/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index 62d481581..a11aa586f 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -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)