]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove unused include.
authorDes <xon@damianv.com.ar>
Tue, 3 Dec 2024 09:50:09 +0000 (06:50 -0300)
committerDes <xon@damianv.com.ar>
Tue, 3 Dec 2024 09:50:09 +0000 (06:50 -0300)
qcsrc/client/hud/panel/racetimer.qc

index b8856765e8a5505adb1ca0384261a41822d86008..e26b72bc3cb1169aac65a706b4d17b00ad49d14f 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <client/draw.qh>
 #include <common/ent_cs.qh>
-#include <lib/csqcmodel/cl_player.qh>
 
 // used for caching the string after passing through a checkpoint
 float racetimer_lastcheckpoint;
@@ -228,7 +227,7 @@ void HUD_RaceTimer ()
                                        if(autocvar_cl_race_cptimes_showspeed)
                                        {
                                                float speed_conversion_factor = GetSpeedUnitFactor(autocvar_hud_speed_unit);
-                                               float speed = race_timespeed; //vlen(vec2(csqcplayer.velocity));
+                                               float speed = race_timespeed;
                                                float speed_diff = rint(speed - race_checkpoint_splits_speed[race_checkpoint]);
                                                string units_text = autocvar_cl_race_cptimes_showspeed_unit ? GetSpeedUnit(autocvar_hud_speed_unit) : "";