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:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user