From 546b32b9f58f953de7f4c52e652b521e6a0986ae Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 29 Apr 2005 06:28:04 +0000 Subject: [PATCH] selectType ->type --- stepmania/src/ScreenOptions.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenOptions.cpp b/stepmania/src/ScreenOptions.cpp index 2c89578c6f..c3d6e0f8ae 100644 --- a/stepmania/src/ScreenOptions.cpp +++ b/stepmania/src/ScreenOptions.cpp @@ -472,7 +472,7 @@ void ScreenOptions::DrawPrimitives() Screen::DrawPrimitives(); } -void ScreenOptions::Input( const DeviceInput& DeviceI, const InputEventType selectType, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI ) +void ScreenOptions::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI ) { /* Allow input when transitioning in (m_In.IsTransitioning()), but ignore it * when we're transitioning out. */ @@ -482,11 +482,12 @@ void ScreenOptions::Input( const DeviceInput& DeviceI, const InputEventType sele if( !GAMESTATE->IsHumanPlayer(MenuI.player) ) return; - if( selectType == IET_RELEASE ) + if( type == IET_RELEASE ) { switch( MenuI.button ) { case MENU_BUTTON_START: + case MENU_BUTTON_SELECT: case MENU_BUTTON_RIGHT: case MENU_BUTTON_LEFT: INPUTMAPPER->ResetKeyRepeat( MenuInput(MenuI.player, MENU_BUTTON_START) ); @@ -496,7 +497,7 @@ void ScreenOptions::Input( const DeviceInput& DeviceI, const InputEventType sele } // default input handler - Screen::Input( DeviceI, selectType, GameI, MenuI, StyleI ); + Screen::Input( DeviceI, type, GameI, MenuI, StyleI ); } void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )