From 11f08ebce95444d510f3499c23863221f2dab815 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 24 Sep 2017 17:21:11 +0200 Subject: [PATCH] Fix bots missing the second teleport when path includes 2 consecutive teleports, where destination of the former is really close to the latter (e.g. Darkzone) --- qcsrc/server/bot/default/navigation.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/bot/default/navigation.qc b/qcsrc/server/bot/default/navigation.qc index 576c9d62c..cfe4320f9 100644 --- a/qcsrc/server/bot/default/navigation.qc +++ b/qcsrc/server/bot/default/navigation.qc @@ -1354,6 +1354,7 @@ int navigation_poptouchedgoals(entity this) this.aistatus |= AI_STATUS_WAYPOINT_PERSONAL_REACHED; } navigation_poproute(this); + this.lastteleporttime = 0; ++removed_goals; } else -- 2.39.2