NathanSweet 12 年之前
父节点
当前提交
8df81c9fbb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-cocos2dx/src/spine/CCSkeletonAnimation.h

+ 1 - 1
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 ();