1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 10:23:52 +00:00

Early out only when scripted animation is playing

This commit is contained in:
Andrei Kortunov 2018-06-11 17:52:58 +04:00
parent e234dd2a36
commit 6099735c60

View file

@ -565,7 +565,7 @@ void CharacterController::refreshCurrentAnims(CharacterState idle, CharacterStat
if (!mAnimQueue.empty()) if (!mAnimQueue.empty())
{ {
AnimationQueueEntry& first = mAnimQueue.front(); AnimationQueueEntry& first = mAnimQueue.front();
if (first.mPersist) if (first.mPersist && isAnimPlaying(first.mGroup))
return; return;
} }