From 53733530ea84c8bf61961462dd8d67c497e6459c Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 23 May 2010 11:53:42 +0000 Subject: [PATCH] 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 --- cl_input.c | 23 ----------------------- 1 file changed, 23 deletions(-) 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) -- 2.39.2