fix style selections in ScreenTitleMenu
This commit is contained in:
@@ -243,10 +243,12 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty
|
|||||||
m_Menu.Back( SM_GoToAttractLoop );
|
m_Menu.Back( SM_GoToAttractLoop );
|
||||||
break;
|
break;
|
||||||
case MENU_BUTTON_START:
|
case MENU_BUTTON_START:
|
||||||
|
if( !Screen::JoinInput( DeviceI, type, GameI, MenuI, StyleI ) )
|
||||||
|
return;
|
||||||
|
|
||||||
/* return if the choice is invalid */
|
/* return if the choice is invalid */
|
||||||
const ModeChoice &mc = m_aModeChoices[m_Choice];
|
const ModeChoice &mc = m_aModeChoices[m_Choice];
|
||||||
CString why;
|
CString why;
|
||||||
|
|
||||||
if( !mc.IsPlayable( &why ) )
|
if( !mc.IsPlayable( &why ) )
|
||||||
{
|
{
|
||||||
m_soundInvalid.Play();
|
m_soundInvalid.Play();
|
||||||
@@ -255,9 +257,8 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( Screen::JoinInput( DeviceI, type, GameI, MenuI, StyleI ) )
|
if( !m_Menu.m_Out.IsTransitioning() )
|
||||||
if( !m_Menu.m_Out.IsTransitioning() )
|
m_Menu.StartTransitioning( SM_GoToNextScreen );
|
||||||
m_Menu.StartTransitioning( SM_GoToNextScreen );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// detect codes
|
// detect codes
|
||||||
|
|||||||
Reference in New Issue
Block a user