]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/inputbox.c
Use numpad enter key and add other 2 instances of numpad keys in the menu.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / inputbox.c
index 26dc4536c477fa198a1abdf44c2adac91833ebb5..e457414b4a4ed411b422a7c0404925cab92c7603 100644 (file)
@@ -74,7 +74,7 @@ float XonoticInputBox_keyDown(entity me, float key, float ascii, float shift)
 {
        float r;
        r = 0;
-       if(key == K_ENTER)
+       if(key == K_ENTER || key == K_KP_ENTER)
        {
                if(me.cvarName)
                {