From 8df81c9fbbc77a5eba02a3554b373d7102713804 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Mon, 14 Oct 2013 19:20:41 +0200 Subject: [PATCH] closes #140 --- spine-cocos2dx/src/spine/CCSkeletonAnimation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-cocos2dx/src/spine/CCSkeletonAnimation.h b/spine-cocos2dx/src/spine/CCSkeletonAnimation.h index 5f7682ae8..73a7a12ed 100644 --- a/spine-cocos2dx/src/spine/CCSkeletonAnimation.h +++ b/spine-cocos2dx/src/spine/CCSkeletonAnimation.h @@ -72,7 +72,7 @@ public: void clearTracks (); void clearTrack (int trackIndex = 0); - void onAnimationStateEvent (int trackIndex, spEventType type, spEvent* event, int loopCount); + virtual void onAnimationStateEvent (int trackIndex, spEventType type, spEvent* event, int loopCount); protected: CCSkeletonAnimation ();