From: divverent Date: Sun, 23 May 2010 11:53:42 +0000 (+0000) Subject: remove a superfluous and possibly harmful block in cl_input.qc X-Git-Tag: xonotic-v0.1.0preview~230^2~263 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=53733530ea84c8bf61961462dd8d67c497e6459c;p=xonotic%2Fdarkplaces.git remove a superfluous and possibly harmful block in cl_input.qc git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10215 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_input.c b/cl_input.c index 4400e3a6..804a4043 100644 --- a/cl_input.c +++ b/cl_input.c @@ -1399,29 +1399,6 @@ void CL_ClientMovement_Physics_Walk(cl_clientmovement_state_t *s) (((strafity > 0.5 ? cl.movevars_airstrafeaccel_qw : cl.movevars_airaccel_qw) >= 0) ? +1 : -1) * (1 - CL_GeomLerp(1 - fabs(cl.movevars_airaccel_qw), strafity, 1 - fabs(cl.movevars_airstrafeaccel_qw))); - - if(s->cmd.forwardmove == 0 && s->cmd.sidemove != 0) - { - if(cl.movevars_maxairstrafespeed) - { - if(wishspeed > cl.movevars_maxairstrafespeed) - wishspeed = cl.movevars_maxairstrafespeed; - if(cl.movevars_maxairstrafespeed < cl.movevars_maxairspeed) - accelqw = 1; - // otherwise, CPMA-style air acceleration misbehaves a lot - // if partially non-QW acceleration is used (as in, strafing - // would get faster than moving forward straight) - } - if(cl.movevars_airstrafeaccelerate) - { - accel = cl.movevars_airstrafeaccelerate; - if(cl.movevars_airstrafeaccelerate > cl.movevars_airaccelerate) - accelqw = 1; - // otherwise, CPMA-style air acceleration misbehaves a lot - // if partially non-QW acceleration is used (as in, strafing - // would get faster than moving forward straight) - } - } // !CPM if(cl.movevars_warsowbunny_turnaccel && accelerating && s->cmd.sidemove == 0 && s->cmd.forwardmove != 0)