]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
fix an input bug that prevented function keys from working inside console
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index ff6ed0e6476ae32f175f1e71c712150a2ec2dcee..7b10bfbfa404afdcb91f19c308c212383c72b23a 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -875,7 +875,6 @@ void Key_Event (int key, char ascii, qboolean down)
                if ((key_consoleactive && !consolekeys[key])
                 || (key_dest == key_menu && menubound[key])
                 || key_dest == key_game)
-               if (!key_consoleactive && key_dest != key_menu)
                {
                        kb = keybindings[key];
                        if (kb)