From 5fed6413f9b24401ce84195e1786bddc8e635fc7 Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Mon, 1 Feb 2021 23:16:47 +0100 Subject: [PATCH] Add patch from Juhu/strafehud-fixes branch: "strafehud: show start speed indicator even on maps with shared start/finish trigger" --- 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 000f27e88..df4d46c39 100644 --- a/qcsrc/client/hud/panel/strafehud.qc +++ b/qcsrc/client/hud/panel/strafehud.qc @@ -637,7 +637,7 @@ void HUD_StrafeHUD() if(autocvar_hud_panel_strafehud_startspeed_fade > 0) { float text_alpha = 0; - if(race_checkpoint == 254) // checkpoint 254 is the start trigger + if(race_nextcheckpoint == 1) // check if the start trigger was hit since the checkpoint after the start trigger is always checkpoint 1 { if(starttime != race_checkpointtime) { -- 2.39.2