From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Mon, 1 Feb 2021 22:16:47 +0000 (+0100) Subject: Add patch from Juhu/strafehud-fixes branch: "strafehud: show start speed indicator... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5fed6413f9b24401ce84195e1786bddc8e635fc7;p=xonotic%2Fxonotic-data.pk3dir.git Add patch from Juhu/strafehud-fixes branch: "strafehud: show start speed indicator even on maps with shared start/finish trigger" --- 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) {