From 9c550fc288439b843fa020d8243f0354df41068e Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 16 Sep 2007 00:27:26 +0000 Subject: * (bug 2758) Reset key states when in a keycatching --- src/client/cl_console.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client') 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 -- cgit