]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
strafehud: don't convert minimum jump height as it is read in the unit currently...
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 6 Jul 2020 02:17:11 +0000 (04:17 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 6 Jul 2020 02:19:24 +0000 (04:19 +0200)
qcsrc/client/hud/panel/strafehud.qc

index 30c7f3a264e8acf9f225d1d17122eccc663755ec..4a82c66d46b4c6a015134166980768115f290b0b 100644 (file)
@@ -658,7 +658,7 @@ void HUD_StrafeHUD()
         if(autocvar_hud_panel_strafehud_jumpheight_fade > 0)
         {
             float text_alpha = 0;
-            float jumpheight_min = max(autocvar_hud_panel_strafehud_jumpheight_min * length_conversion_factor, 0);
+            float jumpheight_min = max(autocvar_hud_panel_strafehud_jumpheight_min, 0);
             float jumpheight_current = strafeplayer.origin.z;
             float jumpspeed_current = strafeplayer.velocity.z;
             if(jumpspeed_prev <= jumpspeed_current || jumpheight_prev > jumpheight_current || IS_ONGROUND(strafeplayer) || swimming || IS_DEAD(strafeplayer) || spectating)