1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 21:45:32 +00:00

Don't restart looped animations on repeated calls

This commit is contained in:
Allofich 2016-08-17 22:48:55 +09:00
parent 341e3846c0
commit b332a13b4e

View file

@ -2009,6 +2009,9 @@ bool CharacterController::playGroup(const std::string &groupname, int mode, int
}
else
{
if (!mAnimQueue.empty() && mAnimQueue.front().mGroup == groupname && isAnimPlaying(mAnimQueue.front().mGroup))
return true;
count = std::max(count, 1);
AnimationQueueEntry entry;