fix "BackInEventMode works even when not set to EventMode"

change BackInEventMode to use normal MenuBack behavior
This commit is contained in:
Chris Danford
2004-06-26 22:28:25 +00:00
parent fc622382dd
commit 3dbf16a1ae
2 changed files with 8 additions and 7 deletions
+8
View File
@@ -1421,6 +1421,14 @@ static void HandleInputEvents(float fDeltaTime)
if( HandleGlobalInputs(DeviceI, type, GameI, MenuI, StyleI ) )
continue; // skip
// check back in event mode
if( PREFSMAN->m_bEventMode &&
CodeDetector::EnteredCode(GameI.controller,CodeDetector::CODE_BACK_IN_EVENT_MODE) )
{
MenuI.player = PLAYER_1;
MenuI.button = MENU_BUTTON_BACK;
}
SCREENMAN->Input( DeviceI, type, GameI, MenuI, StyleI );
}
}