This commit is contained in:
Charles 2001-05-16 20:16:58 +00:00
parent f7ac8f3376
commit 22a55d878d
2 changed files with 10 additions and 0 deletions

View File

@ -174,6 +174,13 @@ void CNpcParasiticWormEnemy::postInit()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcParasiticWormSegment::shutdown()
{
delete m_actorGfx;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcParasiticWormEnemy::shutdown()
{
// delete worm segments
@ -186,6 +193,8 @@ void CNpcParasiticWormEnemy::shutdown()
oldSegment = currentSegment;
currentSegment = currentSegment->m_nextSegment;
oldSegment->shutdown();
delete oldSegment;
}

View File

@ -18,6 +18,7 @@ class CNpcParasiticWormSegment
{
public:
virtual void init();
virtual void shutdown();
virtual void render();
virtual void processEnemyCollision( CThing *thisThing );
virtual void setScale( u16 scale ) {m_scale = scale;}