Fix bug that ActionManagerEx::initWithBinary can only load one UI animation

This commit is contained in:
Yuyao Feng 2014-10-12 08:58:28 +08:00
parent b144eb345a
commit cc22ba9854
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);
}