summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2013-01-16 23:06:35 -0600
committerTim Angus <tim@ngus.net>2013-02-16 21:50:40 +0000
commit1c0eb332379afce6ab67e344673b46477ee756bb (patch)
tree8c549b0310f98999810cdcc1e665db18d5a88cff /src
parenta6b874d3de0bff9753ffd5876b8cb16d0c2b44ec (diff)
Run toggleconsole in binds while in menu or message mode
Diffstat (limited to 'src')
-rw-r--r--src/client/cl_keys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/cl_keys.c b/src/client/cl_keys.c
index 95858d40..157da0d2 100644
--- a/src/client/cl_keys.c
+++ b/src/client/cl_keys.c
@@ -1083,6 +1083,8 @@ static qboolean CL_BindUICommand( const char *cmd ) {
if ( Key_GetCatcher( ) & KEYCATCH_CONSOLE )
return qfalse;
+ if ( !Q_stricmp( cmd, "toggleconsole" ) )
+ return qtrue;
if ( !Q_stricmp( cmd, "togglemenu" ) )
return qtrue;