From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Mon, 6 Jul 2020 02:17:11 +0000 (+0200) Subject: strafehud: don't convert minimum jump height as it is read in the unit currently... X-Git-Tag: xonotic-v0.8.5~738^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b3ad58d11f491c7e760b9a000126ee91fb8a3612;p=xonotic%2Fxonotic-data.pk3dir.git strafehud: don't convert minimum jump height as it is read in the unit currently selected --- 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)