From 46adaeecfa4e8d64fa6d557d276421de70f75464 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 4 Jul 2005 08:35:48 +0000 Subject: [PATCH] allow escape to togglemenu when in fullscreen console git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5486 d7cf8633-e32d-0410-b094-e92efae38249 --- keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keys.c b/keys.c index cfd62813..5b1aad5f 100644 --- a/keys.c +++ b/keys.c @@ -839,7 +839,7 @@ Key_Event (int key, char ascii, qboolean down) // key_menu - go to parent menu (or key_game) // key_game - open menu // in all modes shift-escape toggles console - if (key_consoleactive || keydown[K_SHIFT]) + if ((key_consoleactive & KEY_CONSOLEACTIVE_USER) || keydown[K_SHIFT]) { Con_ToggleConsole_f (); return; -- 2.39.2