Skip to content

Commit

Permalink
Merge pull request EsotericSoftware#289 from zhongfq/master
Browse files Browse the repository at this point in the history
Bugfixes in 64bit system
  • Loading branch information
NathanSweet committed Nov 17, 2014
2 parents 7b3bc20 + 4a205a6 commit 7b804f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine-c/src/spine/Animation.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ void _spDrawOrderTimeline_apply (const spTimeline* timeline, spSkeleton* skeleto

drawOrderToSetupIndex = self->drawOrders[frameIndex];
if (!drawOrderToSetupIndex)
memcpy(skeleton->drawOrder, skeleton->slots, self->slotsCount * sizeof(int));
memcpy(skeleton->drawOrder, skeleton->slots, self->slotsCount * sizeof(spSlot*));
else {
for (i = 0; i < self->slotsCount; ++i)
skeleton->drawOrder[i] = skeleton->slots[drawOrderToSetupIndex[i]];
Expand Down

0 comments on commit 7b804f4

Please sign in to comment.