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
-7
View File
@@ -472,13 +472,6 @@ void ScreenManager::Input( const DeviceInput& DeviceI, const InputEventType type
// LOG->Trace( "ScreenManager::Input( %d-%d, %d-%d, %d-%d, %d-%d )",
// DeviceI.device, DeviceI.button, GameI.controller, GameI.button, MenuI.player, MenuI.button, StyleI.player, StyleI.col );
// check back in event mode
if( CodeDetector::EnteredCode(GameI.controller,CodeDetector::CODE_BACK_IN_EVENT_MODE) )
{
ResetGame( true );
return;
}
// pass input only to topmost state
if( !m_ScreenStack.empty() )
m_ScreenStack.back()->Input( DeviceI, type, GameI, MenuI, StyleI );