Fixed spine-csharp.

This commit is contained in:
NathanSweet 2013-10-20 22:37:03 +02:00
parent af5ff6c11f
commit 6be3dbb7ed

View File

@ -466,7 +466,7 @@ namespace Spine {
int frameCount = frames.Length;
if (lastTime > time) { // Fire events after last time for looped animations.
apply(skeleton, lastTime, Integer.MAX_VALUE, firedEvents, alpha);
Apply(skeleton, lastTime, int.MaxValue, firedEvents, alpha);
lastTime = -1f;
} else if (lastTime >= frames[frameCount - 1]) // Last time is after last frame.
return;