fix effect fallback

This commit is contained in:
Glenn Maynard
2007-05-04 17:29:46 +00:00
parent 34befdb1d3
commit 115b2a2e4d
+2 -2
View File
@@ -376,12 +376,12 @@ bool BackgroundImpl::Layer::CreateBackground( const Song *pSong, const Backgroun
if( vsPaths.empty() )
{
LOG->Warn( "BackgroundEffect '%s' is missing.",sEffect.c_str() );
BackgroundUtil::GetBackgroundEffects( SBE_Centered, vsPaths, vsThrowAway );
sEffect = SBE_Centered;
}
else if( vsPaths.size() > 1 )
{
LOG->Warn( "BackgroundEffect '%s' has more than one match.",sEffect.c_str() );
BackgroundUtil::GetBackgroundEffects( SBE_Centered, vsPaths, vsThrowAway );
sEffect = SBE_Centered;
}
else
{