From e835a6b4c346c5a00a4c6cbb12371141f35e8510 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 2 Dec 2024 17:34:35 +1000 Subject: [PATCH] Prevent recursively applying waypoints to checkpoints --- qcsrc/server/race.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 5e4f6dea5..b2f62e123 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -898,7 +898,7 @@ void defrag_waypointsprites(entity targeted, entity checkpoint) t.sprite.waypointsprite_visible_for_player = race_waypointsprite_visible_for_player; } - if (t.targetname) + if (t.targetname && t != checkpoint) defrag_waypointsprites(t, checkpoint); } } -- 2.39.2