these are no-ops: SetFromMeterAndDifficulty() resets them immediately
This commit is contained in:
@@ -153,27 +153,18 @@ void DifficultyMeter::SetFromTrail( const Trail* pTrail )
|
|||||||
|
|
||||||
void DifficultyMeter::Unset()
|
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 );
|
SetFromMeterAndDifficulty( 0, DIFFICULTY_BEGINNER );
|
||||||
SetDifficulty( "None" );
|
SetDifficulty( "None" );
|
||||||
}
|
}
|
||||||
|
|
||||||
void DifficultyMeter::SetFromDifficulty( Difficulty dc )
|
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 );
|
SetFromMeterAndDifficulty( 0, DIFFICULTY_BEGINNER );
|
||||||
SetDifficulty( DifficultyToString( dc ) );
|
SetDifficulty( DifficultyToString( dc ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void DifficultyMeter::SetFromCourseDifficulty( CourseDifficulty cd )
|
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 );
|
SetFromMeterAndDifficulty( 0, DIFFICULTY_BEGINNER );
|
||||||
SetDifficulty( CourseDifficultyToString( cd ) );
|
SetDifficulty( CourseDifficultyToString( cd ) );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user