mirror of https://github.com/axmolengine/axmol.git
issue #2103 add cocosbuilder lua test sample
This commit is contained in:
parent
c2e2be1b1b
commit
8e97c69b2f
|
@ -443,7 +443,9 @@ CCObject * CCCallFunc::copyWithZone(CCZone *pZone) {
|
||||||
CCActionInstant::copyWithZone(pZone);
|
CCActionInstant::copyWithZone(pZone);
|
||||||
pRet->initWithTarget(m_pSelectorTarget);
|
pRet->initWithTarget(m_pSelectorTarget);
|
||||||
pRet->m_pCallFunc = m_pCallFunc;
|
pRet->m_pCallFunc = m_pCallFunc;
|
||||||
pRet->m_nScriptHandler = cocos2d::CCScriptEngineManager::sharedManager()->getScriptEngine()->reallocateScriptHandler(m_nScriptHandler);
|
if (m_nScriptHandler > 0 ) {
|
||||||
|
pRet->m_nScriptHandler = cocos2d::CCScriptEngineManager::sharedManager()->getScriptEngine()->reallocateScriptHandler(m_nScriptHandler);
|
||||||
|
}
|
||||||
CC_SAFE_DELETE(pNewZone);
|
CC_SAFE_DELETE(pNewZone);
|
||||||
return pRet;
|
return pRet;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue