mirror of https://github.com/axmolengine/axmol.git
fix m_nEntryID typo for CC_LUA_ENGINE_DEBUG
This commit is contained in:
parent
a0d30b5d1b
commit
8e53d9db9f
|
@ -43,7 +43,7 @@ bool CCSchedulerScriptHandlerEntry::initWithHandler(int nHandler, ccTime fInterv
|
||||||
m_pTimer->retain();
|
m_pTimer->retain();
|
||||||
m_nHandler = nHandler;
|
m_nHandler = nHandler;
|
||||||
m_bPaused = bPaused;
|
m_bPaused = bPaused;
|
||||||
LUALOG("[LUA] ADD script schedule: %d, entryID: %d", m_nHandler, m_entryID);
|
LUALOG("[LUA] ADD script schedule: %d, entryID: %d", m_nHandler, m_nEntryID);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ CCSchedulerScriptHandlerEntry::~CCSchedulerScriptHandlerEntry(void)
|
||||||
{
|
{
|
||||||
m_pTimer->release();
|
m_pTimer->release();
|
||||||
CCScriptEngineManager::sharedManager()->getScriptEngine()->removeLuaHandler(m_nHandler);
|
CCScriptEngineManager::sharedManager()->getScriptEngine()->removeLuaHandler(m_nHandler);
|
||||||
LUALOG("[LUA] DEL script schedule %d, entryID: %d", m_nHandler, m_entryID);
|
LUALOG("[LUA] DEL script schedule %d, entryID: %d", m_nHandler, m_nEntryID);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------
|
// ----------------------------
|
||||||
|
|
Loading…
Reference in New Issue