Fix the Default Sort metric. it wasn't being used to initially build the wheel, and then
when you chaged the sort, played a song, and selected another group, the sort would suddenly pop back to the default, which wasn't being used as the default in the first place.
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
|
||||
const int NUM_SCORE_DIGITS = 9;
|
||||
|
||||
#define DEFAULT_SORT THEME->GetMetric ("ScreenSelectMusic","DefaultSort")
|
||||
#define FOV THEME->GetMetricF("ScreenSelectMusic","FOV")
|
||||
#define BANNER_WIDTH THEME->GetMetricF("ScreenSelectMusic","BannerWidth")
|
||||
#define BANNER_HEIGHT THEME->GetMetricF("ScreenSelectMusic","BannerHeight")
|
||||
@@ -88,7 +87,6 @@ ScreenSelectMusic::ScreenSelectMusic() : Screen("ScreenSelectMusic")
|
||||
if( GAMESTATE->m_PlayMode == PLAY_MODE_INVALID )
|
||||
RageException::Throw( "The PlayMode has not been set. A theme must set the PlayMode before loading ScreenSelectMusic." );
|
||||
|
||||
|
||||
CodeDetector::RefreshCacheItems();
|
||||
|
||||
int p;
|
||||
@@ -248,12 +246,6 @@ ScreenSelectMusic::ScreenSelectMusic() : Screen("ScreenSelectMusic")
|
||||
m_fPlaySampleCountdown = 0;
|
||||
m_bAllowOptionsMenu = m_bAllowOptionsMenuRepeat = false;
|
||||
|
||||
// If there is a default sort requested..use it.
|
||||
SongSortOrder so;
|
||||
so = StringToSongSortOrder(DEFAULT_SORT);
|
||||
if( so != SORT_INVALID )
|
||||
GAMESTATE->m_SongSortOrder = so;
|
||||
|
||||
UpdateOptionsDisplays();
|
||||
|
||||
AfterMusicChange();
|
||||
|
||||
Reference in New Issue
Block a user