fix honoring PREFSMAN->m_bHiddenSongs

This commit is contained in:
Glenn Maynard
2004-02-26 20:29:37 +00:00
parent 3559e640b5
commit ddeccdfeaf
4 changed files with 12 additions and 15 deletions
+2 -2
View File
@@ -611,7 +611,7 @@ void PrintHighScoreListTable( RageFile &f, const HighScoreList& hsl )
bool PrintHighScoresForSong( RageFile &f, const Profile *pProfile, Song* pSong )
{
if( pSong->m_SelectionDisplay == Song::SHOW_NEVER || UNLOCKMAN->SongIsLocked(pSong) )
if( pSong->NeverDisplayed() || UNLOCKMAN->SongIsLocked(pSong) )
return false; // skip
int iNumTimesPlayed = pProfile->GetSongNumTimesPlayed(pSong);
if( iNumTimesPlayed == 0 )
@@ -762,7 +762,7 @@ void PrintGradeTable( RageFile &f, const Profile *pProfile, CString sTitle, vect
bool PrintInventoryForSong( RageFile &f, const Profile *pProfile, Song* pSong )
{
if( pSong->m_SelectionDisplay == Song::SHOW_NEVER || UNLOCKMAN->SongIsLocked(pSong) )
if( pSong->NeverDisplayed() || UNLOCKMAN->SongIsLocked(pSong) )
return false; // skip
vector<Steps*> vpSteps = pSong->GetAllSteps();