fixed bug of CCBReader that can not autoplaySequence

This commit is contained in:
garfield_ho 2013-10-19 16:48:57 +08:00
parent 6a10910ff3
commit 464d1598d2
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ Node* CCBReader::readNodeGraphFromData(Data *pData, Object *pOwner, const Size &
Dictionary* animationManagers = Dictionary::create();
Node *pNodeGraph = readFileWithCleanUp(true, animationManagers);
if (pNodeGraph && _actionManager->getAutoPlaySequenceId() != -1 && !_jsControlled)
if (pNodeGraph && _actionManager->getAutoPlaySequenceId() != -1)
{
// Auto play animations
_actionManager->runAnimationsForSequenceIdTweenDuration(_actionManager->getAutoPlaySequenceId(), 0);