1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 22:20:33 +00:00

Fix idle animations playing

This commit is contained in:
Andrei Kortunov 2017-09-24 16:26:41 +04:00
parent 2a14af2e27
commit 9b04a7c1e6

View File

@ -1892,7 +1892,7 @@ void CharacterController::update(float duration)
movestate = mMovementState;
}
if(!isTurning())
if(movestate != CharState_None && !isTurning())
clearAnimQueue();
if(mAnimQueue.empty() || inwater || sneak)