From f5ede24775db9ec453775cf9ad5c6c060374099b Mon Sep 17 00:00:00 2001 From: spherallic <spherallic@gmail.com> Date: Tue, 27 Dec 2022 11:44:56 +0100 Subject: [PATCH] Fix gamepad being unable to skip tutorial prompt --- src/m_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/m_menu.c b/src/m_menu.c index 71cb2cbece..69c056319d 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -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; } -- GitLab