fix "unlocking a song doesn't automatically select it"

This commit is contained in:
Chris Danford
2004-05-26 05:50:22 +00:00
parent fc6fd741ea
commit ff5ec77fec
7 changed files with 34 additions and 13 deletions
+6
View File
@@ -422,11 +422,17 @@ void ModeChoice::Apply( PlayerNumber pn ) const
if( m_sModifiers != "" )
GAMESTATE->ApplyModifiers( pn, m_sModifiers );
if( m_pSong )
{
GAMESTATE->m_pCurSong = m_pSong;
GAMESTATE->m_pPreferredSong = m_pSong;
}
if( m_pSteps )
GAMESTATE->m_pCurSteps[pn] = m_pSteps;
if( m_pCourse )
{
GAMESTATE->m_pCurCourse = m_pCourse;
GAMESTATE->m_pPreferredCourse = m_pCourse;
}
if( m_pCharacter )
GAMESTATE->m_pCurCharacters[pn] = m_pCharacter;
if( m_CourseDifficulty != COURSE_DIFFICULTY_INVALID )