Merge pull request #8657 from coldfog/v3

Fix bug that ActionManagerEx::initWithBinary can only load one UI animation
This commit is contained in:
minggo 2014-10-13 10:20:27 +08:00
commit cb220fe528
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ void ActionManagerEx::initWithDictionary(const char* jsonName,const rapidjson::V
ActionObject* action = new (std::nothrow) ActionObject();
action->autorelease();
action->initWithBinary(cocoLoader, actionNode->GetChildArray(cocoLoader), root);
action->initWithBinary(cocoLoader, &actionNode->GetChildArray(cocoLoader)[i], root);
actionList.pushBack(action);
}