From 559ba867836f10b3731afbf2e1a3c392249b673d Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 11 Dec 2004 03:35:55 +0000 Subject: [PATCH] allow tab to work even when playing a demo. It's much nicer for qwds. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@621 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/keys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/client/keys.c b/engine/client/keys.c index 0860b48b8..0fbb6a1ff 100644 --- a/engine/client/keys.c +++ b/engine/client/keys.c @@ -1281,7 +1281,8 @@ void Key_Event (int key, qboolean down) // // during demo playback, most keys bring up the main menu // - if (cls.demoplayback && cls.demoplayback != DPB_MVD && down && consolekeys[key] && key_dest == key_game) + + if (cls.demoplayback && cls.demoplayback != DPB_MVD && down && consolekeys[key] && key != K_TAB && key_dest == key_game) { M_ToggleMenu_f (); return;