fix crash
This commit is contained in:
@@ -234,8 +234,11 @@ void ScreenMapControllers::Input( const DeviceInput& DeviceI, const InputEventTy
|
|||||||
m_iCurButton++;
|
m_iCurButton++;
|
||||||
break;
|
break;
|
||||||
case SDLK_ESCAPE: /* Quit the screen. */
|
case SDLK_ESCAPE: /* Quit the screen. */
|
||||||
SOUNDMAN->PlayOnce( THEME->GetPathToS("Common start") );
|
if(!m_Menu.IsTransitioning())
|
||||||
m_Menu.StartTransitioning( SM_GoToNextScreen );
|
{
|
||||||
|
SOUNDMAN->PlayOnce( THEME->GetPathToS("Common start") );
|
||||||
|
m_Menu.StartTransitioning( SM_GoToNextScreen );
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case SDLK_RETURN: /* Change the selection. */
|
case SDLK_RETURN: /* Change the selection. */
|
||||||
m_bWaitingForPress = true;
|
m_bWaitingForPress = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user