r951 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Oct 23 11:18:05 EDT 2006


Author: tjw
Date: 2006-10-23 11:18:05 -0400 (Mon, 23 Oct 2006)
New Revision: 951

Modified:
   trunk/code/client/cl_keys.c
Log:
* (bug 2758) Toggling the console while holding keys can put the cgame/ui
  keycatchers in a bad place since they see a key press for a key that is
  already in a down state.  Simply clearing the down state of all keys as
  the console is toggled seems like a simple fix.


Modified: trunk/code/client/cl_keys.c
===================================================================
--- trunk/code/client/cl_keys.c	2006-10-19 00:33:30 UTC (rev 950)
+++ trunk/code/client/cl_keys.c	2006-10-23 15:18:05 UTC (rev 951)
@@ -1070,7 +1070,8 @@
 		if (!down) {
 			return;
 		}
-    Con_ToggleConsole_f ();
+		Con_ToggleConsole_f ();
+		Key_ClearStates ();
 		return;
 	}
 




More information about the quake3-commits mailing list