remove BGAnimation::Unload

This commit is contained in:
Glenn Maynard
2005-08-31 22:03:40 +00:00
parent 983d973739
commit 0365a08767
2 changed files with 1 additions and 8 deletions
+1 -6
View File
@@ -16,11 +16,6 @@ BGAnimation::BGAnimation()
}
BGAnimation::~BGAnimation()
{
Unload();
}
void BGAnimation::Unload()
{
DeleteAllChildren();
}
@@ -106,7 +101,7 @@ void BGAnimation::AddLayersFromAniDir( const CString &_sAniDir, const IniFile& i
void BGAnimation::LoadFromAniDir( const CString &_sAniDir, bool bGeneric )
{
Unload();
DeleteAllChildren();
if( _sAniDir.empty() )
return;