Ver Fonte

Fixed spine-csharp.

NathanSweet há 12 anos atrás
pai
commit
6be3dbb7ed
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      spine-csharp/src/Animation.cs

+ 1 - 1
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;