Update CCActionManagerEx.cpp

modify intent
This commit is contained in:
aeonmine 2014-03-25 12:41:16 +09:00
parent 3a0ee65a7e
commit 4edaa62ec7
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ void ActionManagerEx::initWithDictionary(const char* jsonName,const rapidjson::V
int actionCount = DICTOOL->getArrayCount_json(dic, "actionlist");
for (int i=0; i<actionCount; i++) {
ActionObject* action = new ActionObject();
action->autorelease();
action->autorelease();
const rapidjson::Value &actionDic = DICTOOL->getDictionaryFromArray_json(dic, "actionlist", i);
action->initWithDictionary(actionDic,root);
actionList.pushBack(action);
@ -123,4 +123,4 @@ void ActionManagerEx::releaseActions()
_actionDic.clear();
}
}
}