hide songs loaded from AdditionalSongFolders

This commit is contained in:
Chris Danford
2006-04-04 21:52:54 +00:00
parent be3e197485
commit 27c7482556
4 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ void EditMenu::GetSongsToShowForGroup( const RString &sGroup, vector<Song*> &vpS
for( int i=vpSongsOut.size()-1; i>=0; i-- )
{
const Song* pSong = vpSongsOut[i];
if( UNLOCKMAN->SongIsLocked(pSong) || pSong->IsTutorial() )
if( UNLOCKMAN->SongIsLocked(pSong) || pSong->IsTutorial() || SONGMAN->WasLoadedFromAdditionalSongs(pSong) )
vpSongsOut.erase( vpSongsOut.begin()+i );
}
break;