From 673d355c5974f80ee105a20c2f4ae18de6c1ed9e Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 12 Mar 2008 05:17:02 +0000 Subject: [PATCH] disable pitch drift when csqc wants mouse moves git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8210 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cl_input.c b/cl_input.c index 0b9176f6..711f57e9 100644 --- a/cl_input.c +++ b/cl_input.c @@ -610,6 +610,8 @@ void CL_Input (void) cl.cmd.forwardmove -= m_forward.value * in_mouse_y * modulatedsensitivity; } } + else // don't pitch drift when csqc is controlling the mouse + V_StopPitchDrift(); if(v_flipped.integer) { -- 2.39.2