From: MirceaKitsune Date: Mon, 2 Jan 2012 15:11:55 +0000 (+0200) Subject: Stunning: Return instead of setting wishspeed to 0 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fee92d56fc6bc303a910c0e229baf775a10db10f;p=voretournament%2Fvoretournament.git Stunning: Return instead of setting wishspeed to 0 --- diff --git a/data/qcsrc/server/cl_physics.qc b/data/qcsrc/server/cl_physics.qc index d0331959..492dc2a4 100644 --- a/data/qcsrc/server/cl_physics.qc +++ b/data/qcsrc/server/cl_physics.qc @@ -518,7 +518,7 @@ void PM_Accelerate(vector wishdir, float wishspeed, float wishspeed0, float acce if(self.swallow_progress_pred) // cut speed based on swallow progress for preds wishspeed *= 1 - (self.swallow_progress_pred * cvar("g_balance_vore_swallow_speed_cutspd_pred")); if(self.grabber_stunned > time && random() <= cvar("g_balance_grabber_secondary_stun_rate")) // randomly cut speed while the player is stunned - wishspeed = 0; + return; } if(cvar("sv_gameplayfix_q2airaccelerate"))