@@ -249,8 +249,9 @@ void laAnimationEnsureRetarget(void* HolderInstance, laListHandle* action_list,
ar->Retargeted[i].PlayStatus = aa->PlayByDefault?LA_ANIMATION_STATUS_PLAY_FWD:0;
int j=0;
for(laActionChannel* ac = aa->Channels.pFirst;ac;ac=ac->Item.pNext){
- ar->Retargeted[i].Instances[j] = laAnimationGetRetargetedPropInstance(ac->AP->Prop,ac->AP->For);
+ ar->Retargeted[i].Instances[j] = laAnimationGetRetargetedPropInstance(ac->AP->Prop,ac->AP->For); j++;
}
+ i++;
*retarget = ar;