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

Fix idle animations repeating

This commit is contained in:
scrawl 2013-08-05 02:05:49 +02:00
parent 76a1abe9fa
commit 4caac0d859

View file

@ -776,7 +776,7 @@ void CharacterController::playGroup(const std::string &groupname, int mode, int
else
{
count = std::max(count, 1);
if(mode != 0 || mAnimQueue.empty())
if(mode != 0 || mAnimQueue.empty() || !isAnimPlaying(mAnimQueue.front().first))
{
clearAnimQueue();
mAnimQueue.push_back(std::make_pair(groupname, count-1));