From ce56c7fccc3147848ea608dd5848cfe27a344efe Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 18 May 2017 14:29:15 +0200 Subject: [PATCH] Real fix for inconsistent refresh rate of numbers in the speedometer --- qcsrc/client/hud/panel/physics.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/client/hud/panel/physics.qc b/qcsrc/client/hud/panel/physics.qc index 6befd1a30..67be2ac68 100644 --- a/qcsrc/client/hud/panel/physics.qc +++ b/qcsrc/client/hud/panel/physics.qc @@ -91,6 +91,8 @@ void HUD_Physics() discrete_acceleration = acceleration; discrete_speed = speed; physics_update_time += autocvar_hud_panel_physics_update_interval; + if(physics_update_time < time) + physics_update_time = time + autocvar_hud_panel_physics_update_interval; } //compute layout -- 2.39.2