From 0c2c39ce6db5e7c4ba77c6bbab8b2db90e0eb36e Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 21 Jun 2019 18:25:10 +0200 Subject: [PATCH] Forget jumppad waypoint once destination waypoint is created --- qcsrc/server/bot/default/waypoints.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index d8f7e70a09..f3277b8f38 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -509,6 +509,10 @@ void waypoint_spawn_fromeditor(entity pl, bool at_crosshair) start_wp_origin = org_save; } } + else if (start_wp_is_spawned) + { + waypoint_clear_start_wp(pl); + } } void waypoint_remove(entity wp) -- 2.39.2