diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index 589117a446..7b430e8b28 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -114,7 +114,10 @@ MusicWheel::MusicWheel() { // make the preferred group the group of the last song played. if( GAMESTATE->m_sPreferredGroup==GROUP_ALL_MUSIC && !PREFSMAN->m_bPickExtraStage ) + { + ASSERT(GAMESTATE->m_pCurSong); GAMESTATE->m_sPreferredGroup = GAMESTATE->m_pCurSong->m_sGroupName; + } Song* pSong; Notes* pNotes;