mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
Don't update the animation if time is the same
This commit is contained in:
parent
7ee389f3b2
commit
82d549e22f
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user