Explorar o código

"Fixed" compiling to iOS 64bit.

http://esotericsoftware.com/forum/viewtopic.php?p=19690#p19690
NathanSweet %!s(int64=10) %!d(string=hai) anos
pai
achega
8dace6cfef
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      spine-csharp/src/SkeletonJson.cs

+ 2 - 1
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)