From d5118421965ca77357ecd3abcd6858410271d64d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 24 Mar 2006 18:29:08 +0000 Subject: [PATCH] fix error fallback --- stepmania/src/Background.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index 59412e69e7..13f413e202 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -384,12 +384,12 @@ bool BackgroundImpl::Layer::CreateBackground( const Song *pSong, const Backgroun if( vsPaths.empty() ) { LOG->Warn( "BackgroundEffect '%s' is missing.",sEffect.c_str() ); - sEffect = SBE_Centered; + BackgroundUtil::GetBackgroundEffects( SBE_Centered, vsPaths, vsThrowAway ); } else if( vsPaths.size() > 1 ) { LOG->Warn( "BackgroundEffect '%s' has more than one match.",sEffect.c_str() ); - sEffect = SBE_Centered; + BackgroundUtil::GetBackgroundEffects( SBE_Centered, vsPaths, vsThrowAway ); } else {