fixed #613: Call executeCallFuncN instead of executeCallFunc in CCMenuItem::activate()

This commit is contained in:
minggo 2011-07-18 10:31:41 +08:00
parent d97fcbf752
commit 7a12bb9cdc
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ namespace cocos2d{
if (m_functionName.size() && CCScriptEngineManager::sharedScriptEngineManager()->getScriptEngine())
{
CCScriptEngineManager::sharedScriptEngineManager()->getScriptEngine()->executeCallFunc(m_functionName.c_str());
CCScriptEngineManager::sharedScriptEngineManager()->getScriptEngine()->executeCallFuncN(m_functionName.c_str(), this);
}
}
}