From 69824ff07b7d2f0f07289770b0468bf87217ed50 Mon Sep 17 00:00:00 2001 From: youyou <501251991@qq.com> Date: Mon, 15 Dec 2014 09:36:21 +0800 Subject: [PATCH] add space for readable --- cocos/editor-support/cocostudio/ActionTimeline/CCFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/editor-support/cocostudio/ActionTimeline/CCFrame.cpp b/cocos/editor-support/cocostudio/ActionTimeline/CCFrame.cpp index bcd9c0cbca..dc0595fbf0 100644 --- a/cocos/editor-support/cocostudio/ActionTimeline/CCFrame.cpp +++ b/cocos/editor-support/cocostudio/ActionTimeline/CCFrame.cpp @@ -582,7 +582,7 @@ void EventFrame::setNode(cocos2d::Node* node) void EventFrame::onEnter(Frame *nextFrame, int currentFrameIndex) { - if(_frameIndex<_action->getStartFrame() || _frameIndex>_action->getEndFrame()) + if(_frameIndex < _action->getStartFrame() || _frameIndex > _action->getEndFrame()) return; if(currentFrameIndex >= _frameIndex)