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;
}