From 8dace6cfeff53f544f434522a5b3a4374d88969c Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Thu, 19 Feb 2015 02:45:09 +0100 Subject: [PATCH] "Fixed" compiling to iOS 64bit. http://esotericsoftware.com/forum/viewtopic.php?p=19690#p19690 --- spine-csharp/src/SkeletonJson.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spine-csharp/src/SkeletonJson.cs b/spine-csharp/src/SkeletonJson.cs index ca9bb6153..b83f88a82 100644 --- a/spine-csharp/src/SkeletonJson.cs +++ b/spine-csharp/src/SkeletonJson.cs @@ -588,7 +588,8 @@ namespace Spine { while (originalIndex != slotIndex) unchanged[unchangedIndex++] = originalIndex++; // Set changed items. - drawOrder[originalIndex + (int)(float)offsetMap["offset"]] = originalIndex++; + int index = originalIndex + (int)(float)offsetMap["offset"]; + drawOrder[index] = originalIndex++; } // Collect remaining unchanged items. while (originalIndex < slotCount)