mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-20 00:36:43 +08:00
Fixed CCSkeletonAnimation.
Oops!
This commit is contained in:
parent
661c39cca5
commit
00803c42a5
@ -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];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user