summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/cl_console.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/cl_console.c b/src/client/cl_console.c
index 308abd07..14bc65be 100644
--- a/src/client/cl_console.c
+++ b/src/client/cl_console.c
@@ -639,6 +639,10 @@ Scroll it up or down
==================
*/
void Con_RunConsole (void) {
+ // Don't allow any key states at all when keycatching
+ if ( cls.keyCatchers != 0 )
+ Key_ClearStates( );
+
// decide on the destination height of the console
if ( cls.keyCatchers & KEYCATCH_CONSOLE )
con.finalFrac = 0.5; // half screen