From 8e53d9db9ff509f4e13d05045f90b1c77fd0a7cd Mon Sep 17 00:00:00 2001 From: Anton Rusanov Date: Mon, 12 Mar 2012 00:59:03 +0400 Subject: [PATCH] fix m_nEntryID typo for CC_LUA_ENGINE_DEBUG --- cocos2dx/script_support/CCScriptSupport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2dx/script_support/CCScriptSupport.cpp b/cocos2dx/script_support/CCScriptSupport.cpp index 5ffd2d1ce6..08d40424a2 100644 --- a/cocos2dx/script_support/CCScriptSupport.cpp +++ b/cocos2dx/script_support/CCScriptSupport.cpp @@ -43,7 +43,7 @@ bool CCSchedulerScriptHandlerEntry::initWithHandler(int nHandler, ccTime fInterv m_pTimer->retain(); m_nHandler = nHandler; 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; } @@ -61,7 +61,7 @@ CCSchedulerScriptHandlerEntry::~CCSchedulerScriptHandlerEntry(void) { m_pTimer->release(); 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); } // ----------------------------