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
+5 -2
View File
@@ -1291,14 +1291,17 @@ void ScreenSelectMusic::AfterMusicChange()
}
Song* pSong = m_MusicWheel.GetSelectedSong();
GAMESTATE->m_pCurSong = pSong;
if( pSong )
GAMESTATE->m_pCurSong = pSong;
GAMESTATE->m_pPreferredSong = pSong;
m_GrooveGraph.SetFromSong( pSong );
Course* pCourse = m_MusicWheel.GetSelectedCourse();
GAMESTATE->m_pCurCourse = pCourse;
if( pCourse )
GAMESTATE->m_pCurCourse = pCourse;
GAMESTATE->m_pPreferredCourse = pCourse;
int pn;
for( pn = 0; pn < NUM_PLAYERS; ++pn)