We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20650d5 commit 5c55006Copy full SHA for 5c55006
cocos2d-ui/CCBReader/CCAnimationManager.m
@@ -171,7 +171,7 @@ - (CCBSequence*)sequenceFromSequenceId:(int)seqId {
171
- (CCActionInterval*)actionFromKeyframe0:(CCBKeyframe*)kf0 andKeyframe1:(CCBKeyframe*)kf1 propertyName:(NSString*)name node:(CCNode*)node {
172
float duration = kf1.time - kf0.time;
173
174
- if(kf0.easingType==kCCBKeyframeEasingInstant) {
+ if(kf0 && kf0.easingType==kCCBKeyframeEasingInstant) {
175
duration = 0;
176
}
177
0 commit comments