fix correct song not being selected after exiting the mode/sort menus, due

to m_pCurSong being set to NULL
This commit is contained in:
Glenn Maynard
2004-05-21 20:16:13 +00:00
parent db4d27d39b
commit 65b72f3ee5
+1
View File
@@ -1268,6 +1268,7 @@ void ScreenSelectMusic::AfterMusicChange()
} }
Song* pSong = m_MusicWheel.GetSelectedSong(); Song* pSong = m_MusicWheel.GetSelectedSong();
if( pSong )
GAMESTATE->m_pCurSong = pSong; GAMESTATE->m_pCurSong = pSong;
m_GrooveGraph.SetFromSong( pSong ); m_GrooveGraph.SetFromSong( pSong );