From 56ba688df09e1be367841fea783a1cc82e80c937 Mon Sep 17 00:00:00 2001 From: Ming Date: Fri, 16 Jul 2010 06:22:43 +0000 Subject: [PATCH] issue #6: update CCDirector.cpp --- cocos2dx/CCDirector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }