From: Des Date: Fri, 29 Nov 2024 13:08:46 +0000 (-0300) Subject: Add missing conversion factor X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a892b98e0e871b375ed74484ecbdddd70749ddc5;p=xonotic%2Fxonotic-data.pk3dir.git Add missing conversion factor --- diff --git a/qcsrc/client/hud/panel/racetimer.qc b/qcsrc/client/hud/panel/racetimer.qc index be6787c2e..9a36920ec 100644 --- a/qcsrc/client/hud/panel/racetimer.qc +++ b/qcsrc/client/hud/panel/racetimer.qc @@ -233,7 +233,7 @@ void HUD_RaceTimer () else if (speed_diff == 0) speed_color = "^3"; if(race_time && race_previousbesttime && race_checkpoint_splits_speed[race_checkpoint]) - 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);