From 398865a5ecb4bdbe3bb0b8f440644714a4b93886 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 27 May 2004 07:59:04 +0000 Subject: [PATCH] fix "Profile's LastSong isn't initially selected" --- stepmania/src/MusicWheel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index d0cd534665..121a51b62b 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -247,8 +247,12 @@ bool MusicWheel::SelectSongOrCourse() { if( GAMESTATE->m_pCurSong && SelectSong( GAMESTATE->m_pCurSong ) ) return true; + if( GAMESTATE->m_pPreferredSong && SelectSong( GAMESTATE->m_pPreferredSong ) ) + return true; if( GAMESTATE->m_pCurCourse && SelectCourse( GAMESTATE->m_pCurCourse ) ) return true; + if( GAMESTATE->m_pPreferredCourse && SelectCourse( GAMESTATE->m_pPreferredCourse ) ) + return true; // Select the first selectable song based on the sort order... vector &wiWheelItems = m_WheelItemDatas[GAMESTATE->m_SortOrder];