From 325d15bf83691d041847152fa63828666ab67bde Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 11 Jul 2001 20:05:02 +0000 Subject: [PATCH] --- source/backend/gameover.cpp | 2 ++ source/backend/gameover.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/backend/gameover.cpp b/source/backend/gameover.cpp index c1b9798b4..2719f4fa3 100644 --- a/source/backend/gameover.cpp +++ b/source/backend/gameover.cpp @@ -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(); diff --git a/source/backend/gameover.h b/source/backend/gameover.h index 270c64cfe..21118d884 100644 --- a/source/backend/gameover.h +++ b/source/backend/gameover.h @@ -95,7 +95,7 @@ private: int m_hasPlayedFirstSpeech; int m_hasPlayedSecondSpeech; - class CActorGfx *m_patrickGfx; + class CActorGfx *m_anotherGfx,*m_patrickGfx; int m_animFrame; };