Move DifficultiesToShow into Common metrics. (Fixes assert.)
This commit is contained in:
@@ -26,7 +26,6 @@ REGISTER_SCREEN_CLASS( ScreenJukebox );
|
|||||||
void ScreenJukebox::SetSong()
|
void ScreenJukebox::SetSong()
|
||||||
{
|
{
|
||||||
ThemeMetric<float> ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers");
|
ThemeMetric<float> ALLOW_ADVANCED_MODIFIERS(m_sName,"AllowAdvancedModifiers");
|
||||||
ThemeMetricDifficultiesToShow DIFFICULTIES_TO_SHOW_HERE(m_sName,"DifficultiesToShow");
|
|
||||||
|
|
||||||
vector<Song*> vSongs;
|
vector<Song*> vSongs;
|
||||||
|
|
||||||
@@ -49,7 +48,7 @@ void ScreenJukebox::SetSong()
|
|||||||
if( m_bDemonstration )
|
if( m_bDemonstration )
|
||||||
{
|
{
|
||||||
// HACK: This belongs in ScreenDemonstration
|
// HACK: This belongs in ScreenDemonstration
|
||||||
vDifficultiesToShow = DIFFICULTIES_TO_SHOW_HERE.GetValue();
|
vDifficultiesToShow = DIFFICULTIES_TO_SHOW.GetValue();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user