From b3ad58d11f491c7e760b9a000126ee91fb8a3612 Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Mon, 6 Jul 2020 04:17:11 +0200 Subject: [PATCH] strafehud: don't convert minimum jump height as it is read in the unit currently selected --- qcsrc/client/hud/panel/strafehud.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud/panel/strafehud.qc b/qcsrc/client/hud/panel/strafehud.qc index 30c7f3a26..4a82c66d4 100644 --- a/qcsrc/client/hud/panel/strafehud.qc +++ b/qcsrc/client/hud/panel/strafehud.qc @@ -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) -- 2.39.2