small cleanup
This commit is contained in:
@@ -626,21 +626,21 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
|
|
||||||
// To allow changing steps with gamebuttons, NOT WITH THE GODDAMN CODEDETECTOR
|
// To allow changing steps with gamebuttons, NOT WITH THE GODDAMN CODEDETECTOR
|
||||||
// yeah, wanted this since a while ago... -DaisuMaster
|
// 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)
|
// avoid anything not being just press (read: release or repeat/hold)
|
||||||
if(input.type != IET_FIRST_PRESS)
|
if( input.type != IET_FIRST_PRESS )
|
||||||
return;
|
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 )
|
else if( input.MenuI == m_GameButtonNextDifficulty )
|
||||||
{
|
{
|
||||||
ChangeSteps(input.pn, +1);
|
ChangeSteps( input.pn, +1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user