Move DifficultiesToShow into Common metrics. (Fixes assert.)

This commit is contained in:
Ben Anderson
2005-06-03 21:02:47 +00:00
parent b03a55d199
commit 0ef2ece2a1
+1 -2
View File
@@ -26,7 +26,6 @@ REGISTER_SCREEN_CLASS( ScreenJukebox );
void ScreenJukebox::SetSong()
{
ThemeMetric<float> ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers");
ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow");
vector<Song*> 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
{