Fixed bug.. This now only takes effect on ScreenSelectMusic, where it was originally only intended to execute
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
|
||||
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")
|
||||
@@ -247,6 +248,12 @@ 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