rearrange
This commit is contained in:
@@ -149,15 +149,6 @@ void DifficultyMeter::SetFromDifficulty( Difficulty dc )
|
||||
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 ) );
|
||||
}
|
||||
|
||||
void DifficultyMeter::SetFromGameState( PlayerNumber pn )
|
||||
{
|
||||
if( GAMESTATE->IsCourseMode() )
|
||||
@@ -230,3 +221,12 @@ void DifficultyMeter::SetDifficulty( CString diff )
|
||||
if( SHOW_METER )
|
||||
COMMAND( m_textMeter, "Set" + Capitalize(diff) );
|
||||
}
|
||||
|
||||
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 ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user