From dc82519d3f206f0335dc5dc558b5b30cb38edff7 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 5 Jun 2005 12:02:33 +0000 Subject: [PATCH] don't read unused DifficultiesToShow in ScreenDemonstration --- stepmania/src/ScreenJukebox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenJukebox.cpp b/stepmania/src/ScreenJukebox.cpp index 9d7fbd0c95..40f3bf1b97 100644 --- a/stepmania/src/ScreenJukebox.cpp +++ b/stepmania/src/ScreenJukebox.cpp @@ -25,8 +25,7 @@ REGISTER_SCREEN_CLASS( ScreenJukebox ); void ScreenJukebox::SetSong() { - ThemeMetric ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers"); - ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow"); + ThemeMetric ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers"); vector vSongs; @@ -49,6 +48,7 @@ void ScreenJukebox::SetSong() if( m_bDemonstration ) { // HACK: This belongs in ScreenDemonstration + ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow"); vDifficultiesToShow = DIFFICULTIES_TO_SHOW_HERE.GetValue(); } else