From 80e06f5dface9d6ec783a7dce38acce872f8f849 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Wed, 1 Jun 2005 02:43:21 +0000 Subject: [PATCH] Modify: All redirects for noteskins should be named their exact name. Currently there is a fairly large problem of the noteskin manager finding many different noteskins and complaining. In reality, I think a mid-range solution would be to remove the wildcard and fix our noteskins. --- stepmania/src/NoteSkinManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/NoteSkinManager.cpp b/stepmania/src/NoteSkinManager.cpp index 5d1e50c651..7cd9063153 100644 --- a/stepmania/src/NoteSkinManager.cpp +++ b/stepmania/src/NoteSkinManager.cpp @@ -277,7 +277,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+".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 );