From 115b2a2e4d292c56b855b2f8f71b471ccf41ca7c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 4 May 2007 17:29:46 +0000 Subject: [PATCH] fix effect 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 b22a9331eb..7f06a25681 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -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 {