From 914cb167a4ba0d175f188e9b2977d8ee6a1e8698 Mon Sep 17 00:00:00 2001 From: Hanicef Date: Thu, 8 Feb 2024 21:49:53 +0100 Subject: [PATCH] Fix console binds incorrectly respecting layout keys --- src/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console.c b/src/console.c index 0917d916b..751a6e5ca 100644 --- a/src/console.c +++ b/src/console.c @@ -983,7 +983,7 @@ boolean CON_Responder(event_t *ev) if (modeattacking || metalrecording || marathonmode) return false; - if ((key == gamecontrol[GC_CONSOLE][0] || key == gamecontrol[GC_CONSOLE][1]) && !shiftdown) + if (ev->type == ev_keydown && ((key == gamecontrol[GC_CONSOLE][0] || key == gamecontrol[GC_CONSOLE][1]) && !shiftdown)) { if (consdown) // ignore repeat return true;