From c69c3af4b934bf131bff21e082c9488a4e64ee20 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 5 Jul 2005 21:56:51 +0000 Subject: [PATCH] Due to the last change, we don't have fallback clashes anymore (fallback no longer has both "fallback tap note" and "fallback tap note 4th", etc.), so we don't need to do this. Remove it; it's extremely slow. --- stepmania/src/NoteSkinManager.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/stepmania/src/NoteSkinManager.cpp b/stepmania/src/NoteSkinManager.cpp index 520dfc8a6e..2bd71ed0d0 100644 --- a/stepmania/src/NoteSkinManager.cpp +++ b/stepmania/src/NoteSkinManager.cpp @@ -270,17 +270,7 @@ CString NoteSkinManager::GetPathFromDirAndFile( const CString &sDir, const CStri { CStringArray matches; // fill this with the possible files - GetDirListing( sDir+sFileName+".redir", matches, false, true ); - GetDirListing( sDir+sFileName+"*.xml", matches, false, true ); - GetDirListing( sDir+sFileName+"*.actor", matches, false, true ); - GetDirListing( sDir+sFileName+"*.model", matches, false, true ); - GetDirListing( sDir+sFileName+"*.txt", matches, false, true ); - GetDirListing( sDir+sFileName+"*.sprite", matches, false, true ); - GetDirListing( sDir+sFileName+"*.png", matches, false, true ); - GetDirListing( sDir+sFileName+"*.jpg", matches, false, true ); - GetDirListing( sDir+sFileName+"*.bmp", matches, false, true ); - GetDirListing( sDir+sFileName+"*.gif", matches, false, true ); - GetDirListing( sDir+sFileName+"", matches, false, true ); + GetDirListing( sDir+sFileName+"*", matches, false, true ); if( matches.empty() ) return "";