1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-06 16:51:34 +00:00

Don't update the animation if time is the same

This commit is contained in:
Chris Robinson 2013-01-16 21:39:14 -08:00
parent 7ee389f3b2
commit 82d549e22f

View file

@ -119,6 +119,8 @@ void Animation::setController(MWMechanics::CharacterController *controller)
void Animation::updatePosition(float time)
{
if(time == mTime)
return;
mCurGroup.mAnimState->setTimePosition(time);
mTime = time;