mirror of https://github.com/axmolengine/axmol.git
issue #6: update CCDirector.cpp
This commit is contained in:
parent
d0558f3349
commit
56ba688df0
|
@ -666,7 +666,7 @@ void CCDirector::replaceScene(CCScene *pScene)
|
||||||
UINT32 index = m_pobScenesStack->count();
|
UINT32 index = m_pobScenesStack->count();
|
||||||
|
|
||||||
m_bSendCleanToScene = true;
|
m_bSendCleanToScene = true;
|
||||||
m_pobScenesStack->replace`ObjectAtIndex(index - 1, pScene);
|
m_pobScenesStack->replaceObjectAtIndex(index - 1, pScene);
|
||||||
|
|
||||||
m_pNextScene = pScene;
|
m_pNextScene = pScene;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue