Fixed bug.. This now only takes effect on ScreenSelectMusic, where it was originally only intended to execute

This commit is contained in:
Kevin Slaughter
2003-08-31 09:41:38 +00:00
parent 4a53272d3d
commit 32350db67c
2 changed files with 7 additions and 12 deletions
+7
View File
@@ -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();