From c13cae20bdd68b5910fe23d4fef68493c56a672c Mon Sep 17 00:00:00 2001 From: Diordany van Hemert Date: Tue, 4 Jun 2024 20:57:55 +0200 Subject: [PATCH] Revert to default quit prompt keys --- Quake/menu.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/Quake/menu.c b/Quake/menu.c index f5698968..08760adc 100644 --- a/Quake/menu.c +++ b/Quake/menu.c @@ -1687,8 +1687,23 @@ void M_Quit_Char (int key) { switch (key) { - case 'q': - case 'Q': + case 'n': + case 'N': + if (wasInMenus) + { + m_state = m_quit_prevstate; + m_entersound = true; + } + else + { + IN_Activate(); + key_dest = key_game; + m_state = m_none; + } + break; + + case 'y': + case 'Y': IN_Deactivate(modestate == MS_WINDOWED); key_dest = key_console; Host_Quit_f ();