]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
default in_client_mouse to true again to fix Nexuiz menu
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 May 2008 16:20:25 +0000 (16:20 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 May 2008 16:20:25 +0000 (16:20 +0000)
added a comment in getmousepos about the fact it doesn't know how to
handle in_client_mouse

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8287 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c
vid_shared.c

index bdaf712bd31a3c790946fde5bc33d1ac11666fd7..a20c55aeeeadc11309d7f82ca1d3cd9045e6415f 100644 (file)
@@ -2309,6 +2309,7 @@ void VM_getmousepos(void)
 {
        VM_SAFEPARMCOUNT(0,VM_getmousepos);
 
+       // FIXME: somehow this should involve in_client_mouse if this is menu progs
        if (cl.csqc_wantsmousemove)
                VectorSet(PRVM_G_VECTOR(OFS_RETURN), in_windowmouse_x * vid_conwidth.integer / vid.width, in_windowmouse_y * vid_conheight.integer / vid.height, 0);
        else
index cf6949952284600f77b1131c9c81554a84eded25..028b10dc3377e48f47d59f9b03b29ebe4ecab0ee 100644 (file)
@@ -10,7 +10,7 @@ qboolean isG200 = false; // LordHavoc: the Matrox G200 can't do per pixel alpha,
 qboolean isRagePro = false; // LordHavoc: the ATI Rage Pro has limitations with per pixel alpha (the color scaler does not apply to per pixel alpha images...), although not as bad as a G200.
 
 // AK FIXME -> input_dest
-qboolean in_client_mouse = false;
+qboolean in_client_mouse = true;
 
 // AK where should it be placed ?
 float in_mouse_x, in_mouse_y;