don't read unused DifficultiesToShow in ScreenDemonstration
This commit is contained in:
@@ -25,8 +25,7 @@
|
|||||||
REGISTER_SCREEN_CLASS( ScreenJukebox );
|
REGISTER_SCREEN_CLASS( ScreenJukebox );
|
||||||
void ScreenJukebox::SetSong()
|
void ScreenJukebox::SetSong()
|
||||||
{
|
{
|
||||||
ThemeMetric<float> ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers");
|
ThemeMetric<bool> ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers");
|
||||||
ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow");
|
|
||||||
|
|
||||||
vector<Song*> vSongs;
|
vector<Song*> vSongs;
|
||||||
|
|
||||||
@@ -49,6 +48,7 @@ void ScreenJukebox::SetSong()
|
|||||||
if( m_bDemonstration )
|
if( m_bDemonstration )
|
||||||
{
|
{
|
||||||
// HACK: This belongs in ScreenDemonstration
|
// HACK: This belongs in ScreenDemonstration
|
||||||
|
ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow");
|
||||||
vDifficultiesToShow = DIFFICULTIES_TO_SHOW_HERE.GetValue();
|
vDifficultiesToShow = DIFFICULTIES_TO_SHOW_HERE.GetValue();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user