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);
|
||||
|
||||
CActorPool::Reset();
|
||||
m_anotherGfx=CActorPool::GetActor(ACTORS_SPONGEBOB_SBK);
|
||||
m_patrickGfx=CActorPool::GetActor(ACTORS_PATRICK_SBK);
|
||||
m_animFrame=0;
|
||||
CActorPool::SetUpCache();
|
||||
|
@ -152,6 +153,7 @@ void CGameOverScene::init()
|
|||
---------------------------------------------------------------------- */
|
||||
void CGameOverScene::shutdown()
|
||||
{
|
||||
delete m_anotherGfx;
|
||||
delete m_patrickGfx;
|
||||
CActorPool::Reset();
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ private:
|
|||
int m_hasPlayedFirstSpeech;
|
||||
int m_hasPlayedSecondSpeech;
|
||||
|
||||
class CActorGfx *m_patrickGfx;
|
||||
class CActorGfx *m_anotherGfx,*m_patrickGfx;
|
||||
int m_animFrame;
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue