diff --git a/spine-csharp/src/Animation.cs b/spine-csharp/src/Animation.cs index 3e6308a97..ac49f6ce3 100644 --- a/spine-csharp/src/Animation.cs +++ b/spine-csharp/src/Animation.cs @@ -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;