]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
made sensitivity affect cl_prydoncursor
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Dec 2004 06:40:21 +0000 (06:40 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Dec 2004 06:40:21 +0000 (06:40 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4853 d7cf8633-e32d-0410-b094-e92efae38249

vid_shared.c

index 788b03e90317a576ad429469adc4b3310eb95d50..2720bb57f2fe3999ab5a7e31eb4748e01ee3582d 100644 (file)
@@ -778,8 +778,8 @@ void IN_Mouse(float mx, float my)
 
        if (cl_prydoncursor.integer)
        {
-               cl.cmd.cursor_screen[0] += mouse_x / vid.realwidth;
-               cl.cmd.cursor_screen[1] += mouse_y / vid.realheight;
+               cl.cmd.cursor_screen[0] += mouse_x * sensitivity.value / vid.realwidth;
+               cl.cmd.cursor_screen[1] += mouse_y * sensitivity.value / vid.realheight;
                V_StopPitchDrift();
                return;
        }