From f2e9afe33da367d7794653691ba74ecc05e195a2 Mon Sep 17 00:00:00 2001
From: k9er <k9wolf@pm.me>
Date: Mon, 7 Oct 2024 22:21:31 +0000
Subject: [PATCH] Rename "Intermediate %d" to "Checkpoint %d"

---
 qcsrc/client/hud/panel/racetimer.qc | 4 ++--
 qcsrc/server/race.qc                | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/qcsrc/client/hud/panel/racetimer.qc b/qcsrc/client/hud/panel/racetimer.qc
index 4a76dbbd55..514a9c2588 100644
--- a/qcsrc/client/hud/panel/racetimer.qc
+++ b/qcsrc/client/hud/panel/racetimer.qc
@@ -88,7 +88,7 @@ string MakeRaceString(int cp, float mytime, float theirtime, float othertime, fl
 	else if(cp == 255)
 		cpname = _("Finish line");
 	else if(cp)
-		cpname = sprintf(_("Intermediate %d"), cp);
+		cpname = sprintf(_("Checkpoint %d"), cp);
 	else
 		cpname = _("Finish line");
 
@@ -192,7 +192,7 @@ void HUD_RaceTimer ()
 		str_pos = pos + eX * 0.5 * (mySize.x - stringwidth(s, false, '1 1 0' * 0.6 * mySize.y));
 		drawstring(str_pos, s, '1 1 0' * 0.6 * mySize.y, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL);
 		draw_endBoldFont();
-		s = strcat("^1", sprintf(_("Intermediate %d"), 1), " (+15.42)");
+		s = strcat("^1", sprintf(_("Checkpoint %d"), 1), " (+15.42)");
 		str_pos = pos + vec2(0.5 * (mySize.x - stringwidth(s, true, '1 1 0' * 0.2 * mySize.y)), 0.6 * mySize.y);
 		drawcolorcodedstring(str_pos, s, '1 1 0' * 0.2 * mySize.y, panel_fg_alpha, DRAWFLAG_NORMAL);
 		s = sprintf(_("PENALTY: %.1f (%s)"), 2, _("missing a checkpoint"));
diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc
index 078f9e1923..f69282ca35 100644
--- a/qcsrc/server/race.qc
+++ b/qcsrc/server/race.qc
@@ -572,7 +572,7 @@ void race_SendTime(entity e, float cp, float t, float tvalid)
 						WriteHeader(MSG_ONE, TE_CSQC_RACE);
 						WriteByte(MSG_ONE, RACE_NET_CHECKPOINT_HIT_QUALIFYING);
 						WriteByte(MSG_ONE, race_CheckpointNetworkID(cp)); // checkpoint the player now is at
-						WriteInt24_t(MSG_ONE, t); // time to that intermediate
+						WriteInt24_t(MSG_ONE, t); // time to that checkpoint
 						WriteInt24_t(MSG_ONE, recordtime); // previously best time
 						WriteInt24_t(MSG_ONE, ((tvalid) ? it.race_checkpoint_record[cp] : 0)); // previously best time
 						WriteString(MSG_ONE, recordholder); // record holder
-- 
2.39.5