From 1163376227961dbb0beb606c9fa906402715b888 Mon Sep 17 00:00:00 2001 From: Tadas Miceika Date: Mon, 2 Dec 2013 17:18:07 +0200 Subject: [PATCH] fix copy-paste error --- spine-c/src/spine/AnimationState.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-c/src/spine/AnimationState.c b/spine-c/src/spine/AnimationState.c index 2e30fd871..07f0ce9fe 100644 --- a/spine-c/src/spine/AnimationState.c +++ b/spine-c/src/spine/AnimationState.c @@ -219,7 +219,7 @@ void _spAnimationState_setCurrent (spAnimationState* self, int index, spTrackEnt self->tracks[index] = entry; - if (entry->listener) current->listener(self, index, ANIMATION_START, 0, 0); + if (entry->listener) entry->listener(self, index, ANIMATION_START, 0, 0); if (self->listener) self->listener(self, index, ANIMATION_START, 0, 0); }