mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
17947e96c4
commit
3061eab830
1 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue