From 41155fd81b538be666272d8ee4735859132e6c3d Mon Sep 17 00:00:00 2001 From: James R Date: Fri, 29 Dec 2023 18:14:47 -0800 Subject: [PATCH] Menus: press C to reset text box options to default --- src/k_menufunc.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/k_menufunc.c b/src/k_menufunc.c index 29b91e6b5..dad86d197 100644 --- a/src/k_menufunc.c +++ b/src/k_menufunc.c @@ -980,6 +980,15 @@ static void M_HandleMenuInput(void) M_OpenVirtualKeyboard(thisMenuKey == -1); // If we entered this menu by pressing a menu Key, default to keyboard typing, otherwise use controller. return; } + else if (M_MenuExtraPressed(pid)) + { + if (!(currentMenu->behaviourflags & MBF_SOUNDLESS)) + S_StartSound(NULL, sfx_s3k5b); + + M_ChangeCvar(-1); + M_SetMenuDelay(pid); + return; + } } else