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
This commit is contained in:
Spoike 2004-12-11 03:35:55 +00:00
parent f20af5d236
commit 559ba86783

View file

@ -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;