From 7075cdbfa8feb1b112de9afd744a3a143d0fc5c8 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Wed, 21 Nov 2018 11:21:17 -0500 Subject: [PATCH] Don't accept KEY_PAUSE for control console command --- src/g_input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/g_input.c b/src/g_input.c index c337e561..45ab29e0 100644 --- a/src/g_input.c +++ b/src/g_input.c @@ -1327,6 +1327,8 @@ static void setcontrol(INT32 (*gc)[2], INT32 na) return; } keynum = G_KeyStringtoNum(COM_Argv(2)); + if (keynum == KEY_PAUSE) // fail silently; pause is hardcoded + return; G_CheckDoubleUsage(keynum); gc[numctrl][0] = keynum;