[c] Fixes compilation in VS201x

This commit is contained in:
badlogic 2016-10-19 12:00:59 +02:00
parent 6629a7d332
commit 69889d8a07

View File

@ -188,7 +188,8 @@ static void _sortPathConstraintAttachmentBones(_spSkeleton* const internal, spAt
int i = 0; int i = 0;
while (i < pathBonesCount) { while (i < pathBonesCount) {
int boneCount = pathBones[i++]; int boneCount = pathBones[i++];
for (int n = i + boneCount; i < n; i++) int n;
for (n = i + boneCount; i < n; i++)
_sortBone(internal, bones[pathBones[i]]); _sortBone(internal, bones[pathBones[i]]);
} }
} }