]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_wgl.c
fix bug with menu_mouse_absolute 1 in Nexuiz
[xonotic/darkplaces.git] / vid_wgl.c
index b5acec4016639042de90d6629e01b236f07a3d50..9d9184128ac34362a74e0dfce185503b770d927b 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -579,9 +579,7 @@ LONG WINAPI MainWndProc (HWND hWnd, UINT uMsg, WPARAM  wParam, LPARAM lParam)
                                temp |= 512;
 
 #ifdef SUPPORTDIRECTX
-                       if (vid_usingmouse && !dinput_acquired)
-#else
-                       if (vid_usingmouse)
+                       if (!dinput_acquired)
 #endif
                        {
                                // perform button actions