From 9ead112062f16d425c86e6fed796e716b4a69ba2 Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Sun, 31 Aug 2003 06:01:00 +0000 Subject: [PATCH] remove default sort (it interferes with the select sort menu)... sorry ^^ --- stepmania/src/MusicWheel.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index ae1f443c18..e68ad5268d 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -389,14 +389,16 @@ void MusicWheel::BuildWheelItemDatas( vector &arrayWheelItemDatas for( unsigned j = 0; so == SORT_INVALID && j < parts.size(); ++j ) so = StringToSongSortOrder( parts[j] ); + // I'm removing this because it always forces this sort. + // When using UDUD to change sort, it won't change. + /* if ( !GAMESTATE->IsCourseMode() ) { // If we have a valid default sort in metrics, select it. - // BUT ONLY IF WE ARE NOT IN COURSE MODE so = StringToSongSortOrder(DEFAULT_SORT); if( so != SORT_INVALID ) GAMESTATE->m_SongSortOrder = so; - } + } */ if( so == SORT_INVALID ) so = SORT_GROUP; @@ -1198,6 +1200,7 @@ bool MusicWheel::Select() // return true if this selection ends the screen return true; case TYPE_SORT: m_CurWheelItemData[m_iSelection]->m_Action.ApplyToAllPlayers(); + LOG->Trace("New sort order selected: %s - %d", m_CurWheelItemData[m_iSelection]->m_sLabel.c_str(), m_CurWheelItemData[m_iSelection]->m_SongSortOrder ); ChangeSort( m_CurWheelItemData[m_iSelection]->m_SongSortOrder ); return false; default: