From fee92d56fc6bc303a910c0e229baf775a10db10f Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 2 Jan 2012 17:11:55 +0200 Subject: [PATCH] Stunning: Return instead of setting wishspeed to 0 --- data/qcsrc/server/cl_physics.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) -- 2.39.2