From 6099735c608e90b33a6bc2ab6ad74fd464b08099 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Mon, 11 Jun 2018 17:52:58 +0400 Subject: [PATCH] Early out only when scripted animation is playing --- 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 71d02d59a..795675fb3 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -565,7 +565,7 @@ void CharacterController::refreshCurrentAnims(CharacterState idle, CharacterStat if (!mAnimQueue.empty()) { AnimationQueueEntry& first = mAnimQueue.front(); - if (first.mPersist) + if (first.mPersist && isAnimPlaying(first.mGroup)) return; }