fix Background::LoadFromAniDir

This commit is contained in:
Chris Danford
2003-08-19 07:42:09 +00:00
parent ffea51d6e6
commit 9d44413a84
+2
View File
@@ -91,6 +91,7 @@ void Background::Unload()
m_aBGChanges.clear();
m_pCurrentBGA = NULL;
m_pFadingBGA = NULL;
m_fSecsLeftInFade = 0;
}
void Background::LoadFromAniDir( CString sAniDir )
@@ -104,6 +105,7 @@ void Background::LoadFromAniDir( CString sAniDir )
pTempBGA = new BGAnimation;
pTempBGA->LoadFromAniDir( sAniDir );
m_BGAnimations[STATIC_BACKGROUND] = pTempBGA;
m_aBGChanges.push_back( BackgroundChange(-1000, STATIC_BACKGROUND) );
}
BGAnimation *Background::CreateSongBGA(const Song *pSong, CString sBGName) const