Unwrap. Also make start only trigger on the first press. Without this, alt-enter will start the song.

This commit is contained in:
Steve Checkoway
2006-09-15 02:28:05 +00:00
parent 23221ec7bf
commit 88baa838a8
+5 -7
View File
@@ -453,8 +453,9 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
} }
if( input.type == IET_FIRST_PRESS ) if( input.type != IET_FIRST_PRESS )
{ return;
if( CodeDetector::EnteredEasierDifficulty(input.GameI.controller) ) if( CodeDetector::EnteredEasierDifficulty(input.GameI.controller) )
{ {
if( GAMESTATE->IsAnExtraStage() ) if( GAMESTATE->IsAnExtraStage() )
@@ -494,12 +495,9 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
MESSAGEMAN->Broadcast( "SongOptionsChanged" ); MESSAGEMAN->Broadcast( "SongOptionsChanged" );
return; return;
} }
}
switch( input.MenuI ) if( input.MenuI == MENU_BUTTON_START )
{ MenuStart( input );
case MENU_BUTTON_START: MenuStart( input ); break;
}
} }
void ScreenSelectMusic::UpdateSelectButton() void ScreenSelectMusic::UpdateSelectButton()