mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-05 06:40:09 +00:00
Early out only when scripted animation is playing
This commit is contained in:
parent
e234dd2a36
commit
6099735c60
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user