]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
added GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_vertex_shader, GL_AR...
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index e3048b7626a363cc6fd56a8b168aa178d9990692..d4935d0564a9bc6d441a97913023cc27e7ccde71 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -272,8 +272,6 @@ Key_Console (int key, char ascii)
                break;
        }
 
-       // LordHavoc: FIXME: implement this sometime
-       #if 0
        if ((toupper(key) == 'V' && keydown[K_CTRL]) || ((key == K_INS || key == K_KP_INS) && keydown[K_SHIFT]))
        {
                char *cbd;
@@ -294,7 +292,6 @@ Key_Console (int key, char ascii)
                }
                return;
        }
-       #endif
 
        if (key == 'l')
        {
@@ -882,7 +879,7 @@ Key_Event (int key, char ascii, qboolean down)
                key_repeats[key]++;
                if (key_repeats[key] > 1) {
                        if ((key_consoleactive && !consolekeys[key]) ||
-                                       (key_dest == key_game &&
+                                       (!key_consoleactive && key_dest == key_game &&
                                         (cls.state == ca_connected && cls.signon == SIGNONS)))
                                return;                                         // ignore most autorepeats
                }