fix extra stage bug with auto-select mode
This commit is contained in:
@@ -169,7 +169,9 @@ MusicWheel::MusicWheel()
|
|||||||
|
|
||||||
// HACK: invalidate currently selected song in the case that it
|
// HACK: invalidate currently selected song in the case that it
|
||||||
// cannot be played due to lack of stages remaining
|
// cannot be played due to lack of stages remaining
|
||||||
if( GAMESTATE->m_pCurSong != NULL && SongManager::GetNumStagesForSong( GAMESTATE->m_pCurSong ) + GAMESTATE->m_iCurrentStageIndex > PREFSMAN->m_iNumArcadeStages)
|
if( GAMESTATE->m_pCurSong != NULL &&
|
||||||
|
SongManager::GetNumStagesForSong( GAMESTATE->m_pCurSong ) + GAMESTATE->m_iCurrentStageIndex > PREFSMAN->m_iNumArcadeStages
|
||||||
|
&& !GAMESTATE->IsExtraStage() && !GAMESTATE->IsExtraStage2() )
|
||||||
GAMESTATE->m_pCurSong = NULL;
|
GAMESTATE->m_pCurSong = NULL;
|
||||||
|
|
||||||
// If there is no currently selected song, select one.
|
// If there is no currently selected song, select one.
|
||||||
|
|||||||
Reference in New Issue
Block a user