From: Des - Date: Sun, 15 Sep 2024 21:01:15 +0000 (+0000) Subject: speed_conversion_factor is supposed to be applied to speed_diff too, thanks to k9er... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=172a1c5003a962baeb95e738c1bd7a83244b01f4;p=xonotic%2Fxonotic-data.pk3dir.git speed_conversion_factor is supposed to be applied to speed_diff too, thanks to k9er for catching this one --- 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); }