Browse Source

Fixed CCSkeletonAnimation.

Oops!
NathanSweet 12 năm trước cách đây
mục cha
commit
00803c42a5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      spine-cocos2dx/src/spine/CCSkeletonAnimation.cpp

+ 1 - 1
spine-cocos2dx/src/spine/CCSkeletonAnimation.cpp

@@ -95,7 +95,7 @@ void CCSkeletonAnimation::addAnimationState (AnimationStateData* stateData) {
 	states.push_back(state);
 }
 
-AnimationState* getAnimationState (int stateIndex) {
+AnimationState* CCSkeletonAnimation::getAnimationState (int stateIndex) {
 	CCAssert(stateIndex >= 0 && stateIndex < (int)states.size(), "stateIndex out of range.");
 	return states[stateIndex];
 }