Browse Source

Fixed CCSkeletonAnimation.

Oops!
NathanSweet 12 years ago
parent
commit
00803c42a5
1 changed files with 1 additions and 1 deletions
  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];
 }