diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 3ffd23d6c5..84d0879e84 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -341,12 +341,12 @@ bool Song::ReloadFromSongDir( RString sDir ) return true; } -static void GetImageDirListing( RString sPath, vector &AddTo, bool bReturnPathToo=false ) +static void GetImageDirListing( RString sPath, vector &AddTo ) { - GetDirListing( sPath + ".png", AddTo, false, bReturnPathToo ); - GetDirListing( sPath + ".jpg", AddTo, false, bReturnPathToo ); - GetDirListing( sPath + ".bmp", AddTo, false, bReturnPathToo ); - GetDirListing( sPath + ".gif", AddTo, false, bReturnPathToo ); + GetDirListing( sPath + ".png", AddTo, false, false ); + GetDirListing( sPath + ".jpg", AddTo, false, false ); + GetDirListing( sPath + ".bmp", AddTo, false, false ); + GetDirListing( sPath + ".gif", AddTo, false, false ); } /* Fix up song paths. If there's a leading "./", be sure to keep it: it's