]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_wgl.c
console parsing now behaves like qwcl, thanks to Fuh for pointing out the problems...
[xonotic/darkplaces.git] / vid_wgl.c
index 2f98be1f892a09de617dceec9834be36167f3ee6..64fed0390f8981f6ac34dc5d586e9a54f3a9a619 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -431,14 +431,6 @@ ClearAllStates
 */
 void ClearAllStates (void)
 {
-       int             i;
-
-// send an up event for each key, to make sure the server clears them all
-       for (i=0 ; i<256 ; i++)
-       {
-               Key_Event (i, 0, false);
-       }
-
        Key_ClearStates ();
        IN_ClearStates ();
 }