Fix gamepad being unable to skip tutorial prompt

This commit is contained in:
spherallic 2022-12-27 11:44:56 +01:00
parent f3988231d4
commit f5ede24775

View file

@ -3466,7 +3466,7 @@ boolean M_Responder(event_t *ev)
if (!useEventHandler)
{
UINT16 type = currentMenu->menuitems[itemOn].alphaKey;
if (type == MM_YESNO && !(ch == ' ' || ch == 'n' || ch == 'y' || ch == KEY_ESCAPE || ch == KEY_ENTER || ch == KEY_DEL))
if (type == MM_YESNO && !(ch == ' ' || ch == 'n' || ch == 'y' || ch == KEY_ESCAPE || ch == KEY_ENTER || ch == KEY_DEL || ch == KEY_BACKSPACE))
return true;
if (routine)
routine(ch);
@ -9115,7 +9115,7 @@ static void M_LoadGame(INT32 choice)
if (tutorialmap && cv_tutorialprompt.value)
{
M_StartMessage("Do you want to \x82play a brief Tutorial\x80?\n\nWe highly recommend this because \nthe controls are slightly different \nfrom other games.\n\nPress the\x82 Y\x80 key or the\x83 A button\x80 to go\nPress the\x82 N\x80 key or the\x83 Y button\x80 to skip\n",
M_StartMessage("Do you want to \x82play a brief Tutorial\x80?\n\nWe highly recommend this because \nthe controls are slightly different \nfrom other games.\n\nPress the\x82 Y\x80 key or the\x83 A button\x80 to go\nPress the\x82 N\x80 key or the\x83 X button\x80 to skip\n",
M_FirstTimeResponse, MM_YESNO);
return;
}