]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix bug with menu_mouse_absolute 1 in Nexuiz
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Jan 2009 19:21:34 +0000 (19:21 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Jan 2009 19:21:34 +0000 (19:21 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8661 d7cf8633-e32d-0410-b094-e92efae38249

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