Adding support for cc.CallFunc.

This commit is contained in:
rohankuruvilla 2012-07-22 12:32:41 -07:00 committed by folecr
parent 0c9b7718a0
commit 77f723789b
1 changed files with 3 additions and 0 deletions

View File

@ -787,6 +787,9 @@ void CCScheduler::update(float dt)
{
if ((! pEntry->paused) && (! pEntry->markedForDeletion))
{
#ifdef COCOS2D_JAVASCRIPT
CCScriptEngineManager::sharedManager()->getScriptEngine()->executeSchedule(1, dt, (CCNode *)pEntry->target);
#endif
pEntry->target->update(dt);
}
}