diff --git a/cocos2dx/CCDirector.cpp b/cocos2dx/CCDirector.cpp index d29a94f6c4..d3508c91f2 100644 --- a/cocos2dx/CCDirector.cpp +++ b/cocos2dx/CCDirector.cpp @@ -666,7 +666,7 @@ void CCDirector::replaceScene(CCScene *pScene) UINT32 index = m_pobScenesStack->count(); m_bSendCleanToScene = true; - m_pobScenesStack->replace`ObjectAtIndex(index - 1, pScene); + m_pobScenesStack->replaceObjectAtIndex(index - 1, pScene); m_pNextScene = pScene; }