From 172a1c5003a962baeb95e738c1bd7a83244b01f4 Mon Sep 17 00:00:00 2001 From: Des - Date: Sun, 15 Sep 2024 21:01:15 +0000 Subject: [PATCH] speed_conversion_factor is supposed to be applied to speed_diff too, thanks to k9er for catching this one --- qcsrc/client/hud/panel/racetimer.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud/panel/racetimer.qc b/qcsrc/client/hud/panel/racetimer.qc index 50f6f1519..b73f0319c 100644 --- a/qcsrc/client/hud/panel/racetimer.qc +++ b/qcsrc/client/hud/panel/racetimer.qc @@ -234,7 +234,7 @@ void HUD_RaceTimer () race_checkpoint_splits_speed[race_checkpoint] = speed; } 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); + speed_text = sprintf(" ^7%d%s %s(%+d%s)", speed * speed_conversion_factor, units_text, speed_color, speed_diff * speed_conversion_factor, units_text); else speed_text = sprintf(" ^7%d%s", speed * speed_conversion_factor, units_text); } -- 2.39.2