don't pick autogen Courses for a BGA random course banner

don't pick DISPLAY_NEVER songs for demonstration
don't pick DISPLAY_NEVER songs for a BGA random song banner
don't show DISPLAY_NEVER songs on the ranking screen
This commit is contained in:
Chris Danford
2004-07-25 21:56:19 +00:00
parent 655855cd70
commit f47e16ca86
6 changed files with 35 additions and 6 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ ScreenRanking::ScreenRanking( CString sClassName ) : ScreenAttract( sClassName )
Song *pSong = SONGMAN->GetAllSongs()[s];
if( UNLOCKMAN->SongIsLocked(pSong) )
continue;
if( pSong->IsTutorial() )
if( !pSong->ShowInDemonstrationAndRanking() )
continue;
StepsScoreRowItem* pStepsScoreRowItem = new StepsScoreRowItem;