From: Mario Date: Mon, 2 Dec 2024 07:34:35 +0000 (+1000) Subject: Prevent recursively applying waypoints to checkpoints X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e835a6b4c346c5a00a4c6cbb12371141f35e8510;p=xonotic%2Fxonotic-data.pk3dir.git Prevent recursively applying waypoints to checkpoints --- 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); } }