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:
@@ -11,6 +11,7 @@
|
||||
#include "Steps.h"
|
||||
#include "ScreenAttract.h"
|
||||
#include "RageUtil.h"
|
||||
#include "UnlockSystem.h"
|
||||
|
||||
// HACK: This belongs in ScreenDemonstration
|
||||
#define DIFFICULTIES_TO_SHOW THEME->GetMetric ("ScreenDemonstration","DifficultiesToShow")
|
||||
@@ -69,8 +70,9 @@ bool ScreenJukebox::SetSong( bool bDemonstration )
|
||||
|
||||
if( !pSong->HasMusic() )
|
||||
continue; // skip
|
||||
|
||||
if( pSong->NeverDisplayed() )
|
||||
if( UNLOCKMAN->SongIsLocked(pSong) )
|
||||
continue;
|
||||
if( !pSong->ShowInDemonstrationAndRanking() )
|
||||
continue; // skip
|
||||
|
||||
Difficulty dc = vDifficultiesToShow[ rand()%vDifficultiesToShow.size() ];
|
||||
|
||||
Reference in New Issue
Block a user