arcade machine changes

This commit is contained in:
Chris Danford
2003-10-17 08:03:46 +00:00
parent 01fbfdd2d2
commit f57aa6c785
7 changed files with 51 additions and 12 deletions
+2 -2
View File
@@ -126,8 +126,8 @@ void Screen::Input( const DeviceInput& DeviceI, const InputEventType type, const
/* Don't send release messages with the default handler. */
if(type == IET_RELEASE) return; // don't care
/* Don't make the user hold the back button if they're pressing escape. */
if( DeviceI.device == DEVICE_KEYBOARD && DeviceI.button == SDLK_ESCAPE )
/* Don't make the user hold the back button if they're pressing escape and escape is the back button. */
if( MenuI.button == MENU_BUTTON_BACK && DeviceI.device == DEVICE_KEYBOARD && DeviceI.button == SDLK_ESCAPE )
{
this->MenuBack( MenuI.player );
return;