adjust confirmation dialog hack

This commit is contained in:
Eric Wasylishen 2016-02-08 01:54:49 -07:00
parent 3faf16b104
commit ee3d330b32
2 changed files with 3 additions and 4 deletions

View file

@ -924,7 +924,7 @@ int SCR_ModalMessage (const char *text, float timeout) //johnfitz -- timeout
} while (lastchar != 'y' && lastchar != 'Y' &&
lastchar != 'n' && lastchar != 'N' &&
lastkey != K_ESCAPE &&
lastkey != K_X360_B && lastkey != K_X360_A &&
lastkey != K_ENTER && //ericw -- K_ENTER used by x360 controller
time2 <= time1);
Key_EndInputGrab ();
@ -935,7 +935,7 @@ int SCR_ModalMessage (const char *text, float timeout) //johnfitz -- timeout
return false;
//johnfitz
return (lastchar == 'y' || lastchar == 'Y' || lastkey == K_X360_A);
return (lastchar == 'y' || lastchar == 'Y' || lastkey == K_ENTER);
}

View file

@ -996,8 +996,7 @@ void Key_Event (int key, qboolean down)
{
int emukey = IN_EmulatedKeyForControllerKey(key);
if (key_dest == key_menu
&& !key_inputgrab.active)
if (key_dest == key_game)
{
key = emukey;
}