]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_main.c
cleaned up mouse input system
[xonotic/darkplaces.git] / cl_main.c
index 13037820abf37b450eead51f5ffddeeaaac3853d..30b275604c1db4386e04fe46e530bd9582c24a7f 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -831,9 +831,13 @@ void CL_SendCmd (void)
        // get basic movement from keyboard
                CL_BaseMove (&cmd);
 
        // get basic movement from keyboard
                CL_BaseMove (&cmd);
 
+               IN_PreMove(); // OS independent code
+
        // allow mice or other external controllers to add to the move
                IN_Move (&cmd);
 
        // allow mice or other external controllers to add to the move
                IN_Move (&cmd);
 
+               IN_PostMove(); // OS independent code
+
        // send the unreliable message
                CL_SendMove (&cmd);
        }
        // send the unreliable message
                CL_SendMove (&cmd);
        }