From ffebc3125a3b38c13a9f66181f4b3ab00e460aba Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 4 Jun 2004 01:20:55 +0000 Subject: [PATCH] these are no-ops: SetFromMeterAndDifficulty() resets them immediately --- stepmania/src/DifficultyMeter.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/stepmania/src/DifficultyMeter.cpp b/stepmania/src/DifficultyMeter.cpp index a86310e4b3..9deb8ebf99 100644 --- a/stepmania/src/DifficultyMeter.cpp +++ b/stepmania/src/DifficultyMeter.cpp @@ -153,27 +153,18 @@ void DifficultyMeter::SetFromTrail( const Trail* pTrail ) void DifficultyMeter::Unset() { - m_textFeet.SetEffectNone(); - if( FEET_IS_DIFFICULTY_COLOR ) - m_textFeet.SetDiffuse( RageColor(0.8f,0.8f,0.8f,1) ); SetFromMeterAndDifficulty( 0, DIFFICULTY_BEGINNER ); SetDifficulty( "None" ); } void DifficultyMeter::SetFromDifficulty( Difficulty dc ) { - m_textFeet.SetEffectNone(); - if( FEET_IS_DIFFICULTY_COLOR ) - m_textFeet.SetDiffuse( RageColor(0.8f,0.8f,0.8f,1) ); SetFromMeterAndDifficulty( 0, DIFFICULTY_BEGINNER ); SetDifficulty( DifficultyToString( dc ) ); } void DifficultyMeter::SetFromCourseDifficulty( CourseDifficulty cd ) { - m_textFeet.SetEffectNone(); - if( FEET_IS_DIFFICULTY_COLOR ) - m_textFeet.SetDiffuse( RageColor(0.8f,0.8f,0.8f,1) ); SetFromMeterAndDifficulty( 0, DIFFICULTY_BEGINNER ); SetDifficulty( CourseDifficultyToString( cd ) ); }