소스 검색

"Fixed" compiling to iOS 64bit.

http://esotericsoftware.com/forum/viewtopic.php?p=19690#p19690
NathanSweet 10 년 전
부모
커밋
8dace6cfef
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      spine-csharp/src/SkeletonJson.cs

+ 2 - 1
spine-csharp/src/SkeletonJson.cs

@@ -588,7 +588,8 @@ namespace Spine {
 							while (originalIndex != slotIndex)
 							while (originalIndex != slotIndex)
 								unchanged[unchangedIndex++] = originalIndex++;
 								unchanged[unchangedIndex++] = originalIndex++;
 							// Set changed items.
 							// Set changed items.
-							drawOrder[originalIndex + (int)(float)offsetMap["offset"]] = originalIndex++;
+							int index = originalIndex + (int)(float)offsetMap["offset"];
+							drawOrder[index] = originalIndex++;
 						}
 						}
 						// Collect remaining unchanged items.
 						// Collect remaining unchanged items.
 						while (originalIndex < slotCount)
 						while (originalIndex < slotCount)