From d055620b23e3aa4cc359833eab916bcb37dbf9d1 Mon Sep 17 00:00:00 2001 From: Des Date: Sun, 15 Sep 2024 18:40:26 -0300 Subject: [PATCH] Remove cl_race_checkpoint_splits_hud cvar, since now it's a proper panel --- qcsrc/client/hud/panel/racesplits.qc | 2 +- qcsrc/client/main.qh | 2 -- xonotic-client.cfg | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/qcsrc/client/hud/panel/racesplits.qc b/qcsrc/client/hud/panel/racesplits.qc index 7a62ae5f0..9c26a11a2 100644 --- a/qcsrc/client/hud/panel/racesplits.qc +++ b/qcsrc/client/hud/panel/racesplits.qc @@ -67,7 +67,7 @@ void HUD_RaceSplits() // RaceSplit(_("Splits not supported while spectating")); } - if(autocvar_cl_race_checkpoint_splits_hud && !spectatee_status) + if(!spectatee_status) { int mlines[HUD_RACESPLITS_MAX_NRLINES]; int ln = nrlines -1; diff --git a/qcsrc/client/main.qh b/qcsrc/client/main.qh index a1f798144..f114b1331 100644 --- a/qcsrc/client/main.qh +++ b/qcsrc/client/main.qh @@ -22,12 +22,10 @@ bool autocvar_developer_csqcentities; // or the release after it to support the old-stable release // this can't be done now as players would lack these from their configs then bool autocvar_cl_race_checkpoint_splits_console; -bool autocvar_cl_race_checkpoint_splits_hud; bool autocvar_cl_race_cptimes_showspeed = false; bool autocvar_cl_race_cptimes_showspeed_unit = true; #else AUTOCVAR_SAVE(cl_race_checkpoint_splits_console, bool, 1, "Print checkpoint splits to console"); -AUTOCVAR_SAVE(cl_race_checkpoint_splits_hud, bool, 1, "Show race checkpoint splits on HUD in infomessages"); AUTOCVAR_SAVE(cl_race_cptimes_showspeed, bool, 0, "Show race checkpoint speed"); AUTOCVAR_SAVE(cl_race_cptimes_showspeed_unit, bool, 1, "Show race checkpoint speed units"); #endif diff --git a/xonotic-client.cfg b/xonotic-client.cfg index ed2b5625c..0a8a53b75 100644 --- a/xonotic-client.cfg +++ b/xonotic-client.cfg @@ -716,7 +716,6 @@ seta cl_race_cptimes_onlyself 0 "Only show your own times on checkpoints in Race seta cl_race_cptimes_showspeed 0 "Show race checkpoint speed" seta cl_race_cptimes_showspeed_unit 1 "Show race checkpoint speed units" seta cl_race_checkpoint_splits_console 1 "Print checkpoint splits to console" -seta cl_race_checkpoint_splits_hud 1 "Show race checkpoint splits on HUD in infomessages" seta cl_cts_noautoswitch 0 "Prevent forced switching to new weapons in CTS" -- 2.39.2