[c] Fixes #1282, animation state was missing a null check when iterating mixed out track entries.

This commit is contained in:
badlogic 2019-02-18 11:42:23 +01:00
parent 688b661c12
commit 9bbd2c6175

View File

@ -862,6 +862,7 @@ void _spAnimationState_animationsChanged (spAnimationState* self) {
for (;i < n; i++) {
entry = self->tracks[i];
if (!entry) continue;
while (entry->mixingFrom != 0)
entry = entry->mixingFrom;
do {