If Autogen Missing Types is off, don't pick a song that doesn't have non-autogen steps for the current gametype.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#include "SDL_utils.h"
|
||||
#include "ScreenManager.h"
|
||||
#include "RageSounds.h"
|
||||
|
||||
#include "Steps.h"
|
||||
|
||||
|
||||
const ScreenMessage SM_NotesEnded = ScreenMessage(SM_User+10); // MUST be same as in ScreenGameplay
|
||||
@@ -61,6 +61,9 @@ bool ScreenJukebox::SetSong()
|
||||
if( pNotes == NULL )
|
||||
continue; // skip
|
||||
|
||||
if( !PREFSMAN->m_bAutogenMissingTypes && pNotes->IsAutogen())
|
||||
continue; // skip
|
||||
|
||||
// Found something we can use!
|
||||
GAMESTATE->m_pCurSong = pSong;
|
||||
for( int p=0; p<NUM_PLAYERS; p++ )
|
||||
|
||||
Reference in New Issue
Block a user