]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'divVerent/lavafix'
authorSamual Lenks <samual@xonotic.org>
Wed, 8 May 2013 00:57:12 +0000 (20:57 -0400)
committerSamual Lenks <samual@xonotic.org>
Wed, 8 May 2013 00:57:12 +0000 (20:57 -0400)
qcsrc/server/cl_physics.qc

index a929e368c184f3f1a0ea6431318ac5a96c772de8..a318b8e3a4ad10c950a1adacc807a5da8b15e241 100644 (file)
@@ -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;
        }