From 8ca11d46b714893a17072f9bcff076383a50286b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 7 Mar 2007 02:31:54 +0000 Subject: [PATCH] search for exact match movies in /SongMovies --- stepmania/src/BackgroundUtil.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/BackgroundUtil.cpp b/stepmania/src/BackgroundUtil.cpp index 9105193338..d85729ac97 100644 --- a/stepmania/src/BackgroundUtil.cpp +++ b/stepmania/src/BackgroundUtil.cpp @@ -74,6 +74,7 @@ const RString BACKGROUND_TRANSITIONS_DIR = "BackgroundTransitions/"; const RString BG_ANIMS_DIR = "BGAnimations/"; const RString VISUALIZATIONS_DIR = "Visualizations/"; const RString RANDOMMOVIES_DIR = "RandomMovies/"; +const RString SONG_MOVIES_DIR = "SongMovies/"; const RString RANDOM_BACKGROUND_FILE = "-random-"; const RString NO_SONG_BG_FILE = "-nosongbg-"; @@ -262,6 +263,7 @@ void BackgroundUtil::GetGlobalRandomMovies( // Check for an exact match if( !sMatch.empty() ) { + GetDirListing( SONG_MOVIES_DIR+sMatch, vsPathsOut, false, true ); GetDirListing( RANDOMMOVIES_DIR+sMatch, vsPathsOut, false, true ); if( !vsPathsOut.empty() ) goto found_files;