]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
fix bug in saveconfig that caused config to get saved to weird random file names...
[xonotic/darkplaces.git] / vid_sdl.c
index a9adbde319a634594c08f2a2cef5cd59f29bb543..959105fbcb310e51d0e5df73291916e5a589eccf 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -241,7 +241,7 @@ static void IN_Activate( qboolean grab )
                if (!vid_usingmouse)
                {
                        vid_usingmouse = true;
-                       cl_ignoremousemove = true;
+                       cl_ignoremousemoves = 2;
                        SDL_WM_GrabInput( SDL_GRAB_ON );
                        SDL_ShowCursor( SDL_DISABLE );
                }               
@@ -251,7 +251,7 @@ static void IN_Activate( qboolean grab )
                if (vid_usingmouse)
                {
                        vid_usingmouse = false;
-                       cl_ignoremousemove = true;
+                       cl_ignoremousemoves = 2;
                        SDL_WM_GrabInput( SDL_GRAB_OFF );
                        SDL_ShowCursor( SDL_ENABLE );
                }