mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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);
|
states.push_back(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
AnimationState* getAnimationState (int stateIndex) {
|
AnimationState* CCSkeletonAnimation::getAnimationState (int stateIndex) {
|
||||||
CCAssert(stateIndex >= 0 && stateIndex < (int)states.size(), "stateIndex out of range.");
|
CCAssert(stateIndex >= 0 && stateIndex < (int)states.size(), "stateIndex out of range.");
|
||||||
return states[stateIndex];
|
return states[stateIndex];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user