From 05342e33ecccaa5f1073dad5f6a84fedac50091e Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 23 Jul 2019 15:41:01 +0200 Subject: [PATCH] On second thought, removing a waypoint don't remove support waypoint too --- qcsrc/server/bot/default/waypoints.qc | 3 --- 1 file changed, 3 deletions(-) diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index 2399da8ab3..3b20257ba8 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -757,9 +757,6 @@ void waypoint_spawn_fromeditor(entity pl, bool at_crosshair, bool is_jump_wp, bo void waypoint_remove(entity wp) { - if (wp.SUPPORT_WP) - waypoint_remove(wp.SUPPORT_WP); // remove support waypoint too - IL_EACH(g_waypoints, it != wp, { if (it.SUPPORT_WP == wp) -- 2.39.2