diff --git a/src/BackgroundUtil.cpp b/src/BackgroundUtil.cpp index e0a697ee5c..b3ee90b671 100644 --- a/src/BackgroundUtil.cpp +++ b/src/BackgroundUtil.cpp @@ -133,7 +133,8 @@ void BackgroundUtil::GetBackgroundTransitions( const RString &_sName, vectorm_bQuirksMode ) + GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".xml", vsPathsOut, false, true ); GetDirListing( BACKGROUND_TRANSITIONS_DIR+sName+".lua", vsPathsOut, false, true ); vsNamesOut.clear(); @@ -241,7 +242,8 @@ void BackgroundUtil::GetGlobalBGAnimations( const Song *pSong, const RString &sM { vsPathsOut.clear(); GetDirListing( BG_ANIMS_DIR+sMatch+"*", vsPathsOut, true, true ); - GetDirListing( BG_ANIMS_DIR+sMatch+"*.xml", vsPathsOut, false, true ); + if( PREFSMAN->m_bQuirksMode ) + GetDirListing( BG_ANIMS_DIR+sMatch+"*.xml", vsPathsOut, false, true ); vsNamesOut.clear(); FOREACH_CONST( RString, vsPathsOut, s )