From 4503a0f6afe884e5cf23e8512eec00011df75e8a Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Sat, 27 Mar 2021 09:23:49 +0100 Subject: [PATCH] Add patch from Juhu/strafehud-fixes branch: "strafehud: remove experimental marking and comment about slick detection in spectator mode, it's stable and works in spectate" --- qcsrc/client/hud/panel/strafehud.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/hud/panel/strafehud.qc b/qcsrc/client/hud/panel/strafehud.qc index b1758e4ee..dabc879b8 100644 --- a/qcsrc/client/hud/panel/strafehud.qc +++ b/qcsrc/client/hud/panel/strafehud.qc @@ -641,12 +641,12 @@ void HUD_StrafeHUD() } } - // experimental: slick detector + // slick detector slickdetector_height = max(autocvar_hud_panel_strafehud_slickdetector_height, 0); if(!autocvar_hud_panel_strafehud_uncapped) slickdetector_height = min(slickdetector_height, 1); slickdetector_height *= panel_size.y; - if(autocvar_hud_panel_strafehud_slickdetector_range > 0 && autocvar_hud_panel_strafehud_slickdetector_alpha > 0 && slickdetector_height > 0 && panel_size.x > 0) // dunno if slick detection works in spectate + if(autocvar_hud_panel_strafehud_slickdetector_range > 0 && autocvar_hud_panel_strafehud_slickdetector_alpha > 0 && slickdetector_height > 0 && panel_size.x > 0) { float slicksteps = max(autocvar_hud_panel_strafehud_slickdetector_granularity, 0); bool slickdetected = false; -- 2.39.2