From: FruitieX Date: Wed, 15 Dec 2010 16:05:14 +0000 (+0200) Subject: remove a debug print... but why does the max speed peaks still not update instantly? X-Git-Tag: xonotic-v0.5.0~348^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fdae430628cf8ccef2d27588e8098493b278206f;p=xonotic%2Fxonotic-data.pk3dir.git remove a debug print... but why does the max speed peaks still not update instantly? --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 1d91217da..0551fd284 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -5434,8 +5434,9 @@ void HUD_Physics(void) { top_speed = speed; top_speed_time = time; + f = 1; } - if (top_speed != 0) + else if (top_speed != 0) { f = max(1, autocvar_hud_panel_physics_topspeed_time); // divide by f to make it start from 1 @@ -5480,7 +5481,6 @@ void HUD_Physics(void) else top_speed = 0; } - print(ftos(f), "\n"); //draw acceleration if(acceleration && autocvar_hud_panel_physics_progressbar)