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

Merge pull request #1022 from Allofich/anim

Make loopgroup loop correct number of times
This commit is contained in:
scrawl 2016-08-14 17:02:38 +02:00 committed by GitHub
commit c3340ec143

View file

@ -89,7 +89,7 @@ namespace MWScript
throw std::runtime_error ("animation mode out of range");
}
MWBase::Environment::get().getMechanicsManager()->playAnimationGroup (ptr, group, mode, loops, true);
MWBase::Environment::get().getMechanicsManager()->playAnimationGroup (ptr, group, mode, loops + 1, true);
}
};