From: havoc Date: Wed, 12 Mar 2008 05:17:02 +0000 (+0000) Subject: disable pitch drift when csqc wants mouse moves X-Git-Tag: xonotic-v0.1.0preview~2316 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=673d355c5974f80ee105a20c2f4ae18de6c1ed9e;p=xonotic%2Fdarkplaces.git disable pitch drift when csqc wants mouse moves git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8210 d7cf8633-e32d-0410-b094-e92efae38249 --- 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) {