]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove a debug print... but why does the max speed peaks still not update instantly?
authorFruitieX <fruitiex@gmail.com>
Wed, 15 Dec 2010 16:05:14 +0000 (18:05 +0200)
committerFruitieX <fruitiex@gmail.com>
Wed, 15 Dec 2010 16:05:14 +0000 (18:05 +0200)
qcsrc/client/hud.qc

index 1d91217da7b3f7bbbdf8ada0437100338ce9d0b2..0551fd284881d141f1931a2c73b40f0d8a248391 100644 (file)
@@ -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)