Optimized animation frame timing a bit
This commit is contained in:
parent
afd4bdd09e
commit
092311a2e5
|
@ -274,7 +274,6 @@ namespace Birb
|
|||
if (entity.animationComponent.frameIndex < entity.animationComponent.lastFrame)
|
||||
{
|
||||
entity.animationComponent.frameIndex++;
|
||||
entity.animationComponent.frameTimer.Stop();
|
||||
entity.animationComponent.frameTimer.Start();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue