remove MenuInput.IsValid(); if invalid, the button is simply MenuButton_INVALID

This commit is contained in:
Glenn Maynard
2006-09-14 20:31:46 +00:00
parent c559ff69b6
commit f1cd95828e
10 changed files with 51 additions and 69 deletions
+5 -8
View File
@@ -255,15 +255,12 @@ void ScreenJukebox::Input( const InputEventPlus &input )
if( input.type != IET_FIRST_PRESS )
return; /* ignore */
if( input.MenuI.IsValid() )
switch( input.MenuI.button )
{
switch( input.MenuI.button )
{
case MENU_BUTTON_LEFT:
case MENU_BUTTON_RIGHT:
SCREENMAN->PostMessageToTopScreen( SM_NotesEnded, 0 );
return;
}
case MENU_BUTTON_LEFT:
case MENU_BUTTON_RIGHT:
SCREENMAN->PostMessageToTopScreen( SM_NotesEnded, 0 );
return;
}
ScreenAttract::AttractInput( input, this );