From 94d346b767a6c568ca1b55065997aaa44f50b637 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 21 Mar 2012 20:14:45 +0100 Subject: [PATCH] more consistent water/lava leaving physics for jump vs moveup (removes need for weird moveup AND jump binds) --- qcsrc/server/cl_physics.qc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/qcsrc/server/cl_physics.qc b/qcsrc/server/cl_physics.qc index 51bfc62c6..751f9c64c 100644 --- a/qcsrc/server/cl_physics.qc +++ b/qcsrc/server/cl_physics.qc @@ -48,13 +48,7 @@ void PlayerJump (void) mjumpheight = autocvar_sv_jumpvelocity; if (self.waterlevel >= WATERLEVEL_SWIMMING) { - if (self.watertype == CONTENT_WATER) - self.velocity_z = 200; - else if (self.watertype == CONTENT_SLIME) - self.velocity_z = 80; - else - self.velocity_z = 50; - + self.velocity_z = self.stat_sv_maxspeed * 0.7; return; } -- 2.39.2