From 0ef2ece2a105d5b53b22ed40e3c003f7b4dda0eb Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Fri, 3 Jun 2005 21:02:47 +0000 Subject: [PATCH] Move DifficultiesToShow into Common metrics. (Fixes assert.) --- stepmania/src/ScreenJukebox.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/ScreenJukebox.cpp b/stepmania/src/ScreenJukebox.cpp index 81ea97f778..98cf90ba5f 100644 --- a/stepmania/src/ScreenJukebox.cpp +++ b/stepmania/src/ScreenJukebox.cpp @@ -26,7 +26,6 @@ REGISTER_SCREEN_CLASS( ScreenJukebox ); void ScreenJukebox::SetSong() { ThemeMetric ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers"); - ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow"); vector vSongs; @@ -49,7 +48,7 @@ void ScreenJukebox::SetSong() if( m_bDemonstration ) { // HACK: This belongs in ScreenDemonstration - vDifficultiesToShow = DIFFICULTIES_TO_SHOW_HERE.GetValue(); + vDifficultiesToShow = DIFFICULTIES_TO_SHOW.GetValue(); } else {