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.
This commit is contained in:
Glenn Maynard
2005-07-05 21:56:51 +00:00
parent 858c7e3ce3
commit c69c3af4b9
+1 -11
View File
@@ -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 "";