This commit is contained in:
parent
14aecc6ae2
commit
325d15bf83
2 changed files with 3 additions and 1 deletions
|
@ -119,6 +119,7 @@ void CGameOverScene::init()
|
||||||
m_font->setOt(5);
|
m_font->setOt(5);
|
||||||
|
|
||||||
CActorPool::Reset();
|
CActorPool::Reset();
|
||||||
|
m_anotherGfx=CActorPool::GetActor(ACTORS_SPONGEBOB_SBK);
|
||||||
m_patrickGfx=CActorPool::GetActor(ACTORS_PATRICK_SBK);
|
m_patrickGfx=CActorPool::GetActor(ACTORS_PATRICK_SBK);
|
||||||
m_animFrame=0;
|
m_animFrame=0;
|
||||||
CActorPool::SetUpCache();
|
CActorPool::SetUpCache();
|
||||||
|
@ -152,6 +153,7 @@ void CGameOverScene::init()
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
void CGameOverScene::shutdown()
|
void CGameOverScene::shutdown()
|
||||||
{
|
{
|
||||||
|
delete m_anotherGfx;
|
||||||
delete m_patrickGfx;
|
delete m_patrickGfx;
|
||||||
CActorPool::Reset();
|
CActorPool::Reset();
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ private:
|
||||||
int m_hasPlayedFirstSpeech;
|
int m_hasPlayedFirstSpeech;
|
||||||
int m_hasPlayedSecondSpeech;
|
int m_hasPlayedSecondSpeech;
|
||||||
|
|
||||||
class CActorGfx *m_patrickGfx;
|
class CActorGfx *m_anotherGfx,*m_patrickGfx;
|
||||||
int m_animFrame;
|
int m_animFrame;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue