whitespace killa, remove some temporary test code (I assume)
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
|
||||
REGISTER_SCREEN_CLASS( ScreenOptionsManageCourses );
|
||||
|
||||
|
||||
struct StepsTypeAndDifficulty
|
||||
{
|
||||
StepsType st;
|
||||
@@ -50,8 +49,6 @@ static void SetNextCombination()
|
||||
|
||||
GAMESTATE->m_stEdit.Set( curVal.st );
|
||||
GAMESTATE->m_cdEdit.Set( curVal.cd );
|
||||
// XXX Testing.
|
||||
SCREENMAN->SystemMessage( ssprintf("%s, %s", GAMEMAN->GetStepsTypeInfo(curVal.st).szName, DifficultyToString(curVal.cd).c_str()) );
|
||||
|
||||
EditCourseUtil::UpdateAndSetTrail();
|
||||
}
|
||||
@@ -75,15 +72,14 @@ void ScreenOptionsManageCourses::BeginScreen()
|
||||
const Style *pStyle = vpStyles[0];
|
||||
GAMESTATE->SetCurrentStyle( pStyle );
|
||||
|
||||
|
||||
if( GAMESTATE->m_stEdit == StepsType_Invalid ||
|
||||
GAMESTATE->m_cdEdit == Difficulty_Invalid )
|
||||
{
|
||||
SetNextCombination();
|
||||
}
|
||||
|
||||
|
||||
// Remember the current course. All Course pointers will be invalidated when we load the machine profile below.
|
||||
// Remember the current course. All Course pointers will be invalidated when
|
||||
// we load the machine profile below.
|
||||
CourseID cidLast;
|
||||
cidLast.FromCourse( GAMESTATE->m_pCurCourse );
|
||||
|
||||
@@ -213,7 +209,6 @@ void ScreenOptionsManageCourses::MenuSelect( const InputEventPlus &input )
|
||||
return;
|
||||
SetNextCombination();
|
||||
m_soundDifficultyChanged.Play();
|
||||
|
||||
}
|
||||
|
||||
static LocalizedString YOU_HAVE_MAX( "ScreenOptionsManageCourses", "You have %d, the maximum number allowed." );
|
||||
|
||||
Reference in New Issue
Block a user