]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_glx.c
default effectinfo velocitymultiplier to 0 in nexuiz mode
[xonotic/darkplaces.git] / vid_glx.c
index 6773b86ca79b23898afd96cffe3292c448dea49d..9f142bb9a0caf34be92da7fe97f6611d3a111146 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -278,7 +278,9 @@ static int XLateKey(XKeyEvent *ev, Uchar *ascii)
                case XK_KP_Subtract: key = K_KP_MINUS; break;
                case XK_KP_Divide: key = K_KP_SLASH; break;
 
-               case XK_section:        key = '~'; break;
+               case XK_asciicircum:    *ascii = key = '^'; break; // for some reason, XLookupString returns "" on this one for Grunt|2
+
+               case XK_section:        *ascii = key = '~'; break;
 
                default:
                        if (keysym < 32)