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;