Added a non-destructive way to get out of qc menus to the console (shift+escape).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2388 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-09-18 22:50:59 +00:00
parent 17947e96c4
commit 3061eab830

View file

@ -1766,6 +1766,15 @@ void MP_Keydown(int key)
return;
}
}
if (key == K_ESCAPE)
{
extern qboolean keydown[K_MAX];
if (keydown[K_SHIFT])
{
Con_ToggleConsole_f();
return;
}
}
menutime = Sys_DoubleTime();
if (mp_time)