]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove cl_race_checkpoint_splits_hud cvar, since now it's a proper panel
authorDes <xon@damianv.com.ar>
Sun, 15 Sep 2024 21:40:26 +0000 (18:40 -0300)
committerDes <xon@damianv.com.ar>
Sun, 15 Sep 2024 21:40:26 +0000 (18:40 -0300)
qcsrc/client/hud/panel/racesplits.qc
qcsrc/client/main.qh
xonotic-client.cfg

index 7a62ae5f05574852266b4ffac23946c36bff05dd..9c26a11a23bc147e74c0f591334441ee09e976b8 100644 (file)
@@ -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;
index a1f798144ade6bf5c2f831392211be64f09f5659..f114b1331684a7def0d62d2c034234c9c55e4d6c 100644 (file)
@@ -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
index ed2b5625ce209a46b73df94fe7f1c961ddab4b5e..0a8a53b755b9d4275974183026b6627adbfddb88 100644 (file)
@@ -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"