]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_wgl.c
csqc patch from [515], seems to work with [515]'s dpcsqc test mod, needs a lot of...
[xonotic/darkplaces.git] / vid_wgl.c
index 8cce143a75cf04f63b6b0f1f81ae8f2df3ceb8bf..6f189c460a5bc62c04477577a84a422fb73dad92 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -1306,6 +1306,7 @@ static void IN_MouseMove (void)
                in_mouse_y = my;
 
                // if the mouse has moved, force it to the center, so there's room to move
+               if (!cl.csqc_wantsmousemove)
                if (mx || my)
                        SetCursorPos ((window_x + vid.width / 2), (window_y + vid.height / 2));
        }