From c65ee59d29b2193d913dccd320029aa110a6620a Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 31 May 2014 02:14:47 +1000 Subject: [PATCH] Disable jumping while player is blocked, they can't move so jumping is weird and unpredicted --- qcsrc/server/cl_physics.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/server/cl_physics.qc b/qcsrc/server/cl_physics.qc index 0d0dd3138..43c7be517 100644 --- a/qcsrc/server/cl_physics.qc +++ b/qcsrc/server/cl_physics.qc @@ -19,6 +19,9 @@ When you press the jump key */ void PlayerJump (void) { + if(self.player_blocked) + return; // no jumping while blocked + float doublejump = FALSE; player_multijump = doublejump; -- 2.39.2