diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index ac10954e98..4a850c329a 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -120,11 +120,6 @@ void ScreenSelectMusic::Init() SET_XY( m_Banner ); this->AddChild( &m_Banner ); - m_DifficultyDisplay.SetName( "DifficultyDisplay" ); - m_DifficultyDisplay.SetShadowLength( 0 ); - SET_XY( m_DifficultyDisplay ); - this->AddChild( &m_DifficultyDisplay ); - m_sprCDTitleFront.SetName( "CDTitle" ); m_sprCDTitleFront.Load( THEME->GetPathG(m_sName,"fallback cdtitle") ); SET_XY( m_sprCDTitleFront ); @@ -942,7 +937,6 @@ void ScreenSelectMusic::AfterMusicChange() m_iSelection[p] = -1; g_sCDTitlePath = ""; // none - m_DifficultyDisplay.UnsetDifficulties(); m_fSampleStartSeconds = 0; m_fSampleLengthSeconds = -1; @@ -993,8 +987,6 @@ void ScreenSelectMusic::AfterMusicChange() g_sCDTitlePath = pSong->GetCDTitlePath(); g_bWantFallbackCdTitle = true; - m_DifficultyDisplay.SetDifficulties( pSong, GAMESTATE->GetCurrentStyle()->m_StepsType ); - SwitchToPreferredDifficulty(); break; @@ -1021,8 +1013,6 @@ void ScreenSelectMusic::AfterMusicChange() if( g_sBannerPath.empty() ) m_Banner.LoadFallback(); - m_DifficultyDisplay.UnsetDifficulties(); - SwitchToPreferredDifficulty(); break; } diff --git a/stepmania/src/ScreenSelectMusic.h b/stepmania/src/ScreenSelectMusic.h index 25cbc21eb7..0849ad423c 100644 --- a/stepmania/src/ScreenSelectMusic.h +++ b/stepmania/src/ScreenSelectMusic.h @@ -10,7 +10,6 @@ #include "MusicWheel.h" #include "Banner.h" #include "FadingBanner.h" -#include "DifficultyDisplay.h" #include "RageUtil_BackgroundLoader.h" #include "ThemeMetric.h" #include "ActorCommands.h" @@ -81,7 +80,6 @@ protected: Sprite m_sprHighScoreFrame[NUM_PLAYERS]; BitmapText m_textHighScore[NUM_PLAYERS]; MusicWheel m_MusicWheel; - DifficultyDisplay m_DifficultyDisplay; bool m_bMadeChoice; bool m_bGoToOptions;