From f08f59b7f5ba3e15fe91ea558c8a0acaab50311d Mon Sep 17 00:00:00 2001 From: Des Date: Thu, 5 Sep 2024 18:49:52 -0300 Subject: [PATCH] Treat speed same as time for first time a cp is hit. --- qcsrc/client/hud/panel/racetimer.qc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qcsrc/client/hud/panel/racetimer.qc b/qcsrc/client/hud/panel/racetimer.qc index 04544683a..768945b4f 100644 --- a/qcsrc/client/hud/panel/racetimer.qc +++ b/qcsrc/client/hud/panel/racetimer.qc @@ -232,7 +232,10 @@ void HUD_RaceTimer () { race_checkpoint_splits_speed[race_checkpoint] = speed; } - speed_text = sprintf(" ^7%d%s %s(%+d%s)", speed * speed_conversion_factor, units_text, speed_color, speed_diff, units_text); + if(race_time && race_previousbesttime) + speed_text = sprintf(" ^7%d%s %s(%+d%s)", speed * speed_conversion_factor, units_text, speed_color, speed_diff, units_text); + else + speed_text = sprintf(" ^7%d%s", speed * speed_conversion_factor, units_text); } // build checkpoint split strings if(race_time && race_previousbesttime) -- 2.39.2