diff options
author | Tim Angus <tim@ngus.net> | 2007-09-16 00:27:26 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2007-09-16 00:27:26 +0000 |
commit | 9c550fc288439b843fa020d8243f0354df41068e (patch) | |
tree | aacbba1484d37aa41ac67d844eab3b42c13b0cfe /src/client/cl_console.c | |
parent | 83462a8f3d14961da8e0c47dc66723ef05abdac1 (diff) |
* (bug 2758) Reset key states when in a keycatching
Diffstat (limited to 'src/client/cl_console.c')
-rw-r--r-- | src/client/cl_console.c | 4 |
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 |