This commit is contained in:
Paul 2001-05-25 19:44:11 +00:00
parent 217e8bfad2
commit 50061c15c2
3 changed files with 6 additions and 6 deletions

View file

@ -370,7 +370,7 @@ void CGUIObjectWithSpriteBank::shutdown()
CGUIObject::shutdown();
m_spriteBank->dump();
// delete m_spriteBank;
delete m_spriteBank;
m_spriteBank=0;
}
@ -383,9 +383,8 @@ void CGUIObjectWithSpriteBank::shutdown()
---------------------------------------------------------------------- */
void CGUIObjectWithSpriteBank::setSpriteBank(FileEquate _fe)
{
// m_spriteBank=new ("spritebank") SpriteBank();
// m_spriteBank->load(_fe);
m_spriteBank=CGameScene::getSpriteBank();
m_spriteBank=new ("spritebank") SpriteBank();
m_spriteBank->load(_fe);
}