From 6be3dbb7ed6cb9be7adc24afb4bfae789f06d3fa Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Sun, 20 Oct 2013 22:37:03 +0200 Subject: [PATCH] Fixed spine-csharp. --- spine-csharp/src/Animation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;