small cleanup

This commit is contained in:
AJ Kelly
2010-07-19 11:14:43 -05:00
parent fa8ebadbc9
commit cb041b75d2
+6 -6
View File
@@ -626,21 +626,21 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
// To allow changing steps with gamebuttons, NOT WITH THE GODDAMN CODEDETECTOR
// yeah, wanted this since a while ago... -DaisuMaster
if(CHANGE_STEPS_WITH_GAME_BUTTONS)
if( CHANGE_STEPS_WITH_GAME_BUTTONS )
{
// avoid anything not being just press (read: release or repeat/hold)
if(input.type != IET_FIRST_PRESS)
if( input.type != IET_FIRST_PRESS )
return;
if(m_SelectionState == SelectionState_SelectingSong)
if( m_SelectionState == SelectionState_SelectingSong )
{
if(input.MenuI == m_GameButtonPreviousDifficulty)
if (input.MenuI == m_GameButtonPreviousDifficulty )
{
ChangeSteps(input.pn, -1);
ChangeSteps( input.pn, -1 );
}
else if( input.MenuI == m_GameButtonNextDifficulty )
{
ChangeSteps(input.pn, +1);
ChangeSteps( input.pn, +1 );
}
}
}