]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix bots missing the second teleport when path includes 2 consecutive teleports,...
authorterencehill <piuntn@gmail.com>
Sun, 24 Sep 2017 15:21:11 +0000 (17:21 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 24 Sep 2017 15:21:11 +0000 (17:21 +0200)
qcsrc/server/bot/default/navigation.qc

index 576c9d62c74bed4d80303ce0526060ee73f2fd8d..cfe4320f97486bde54d6e92b701fb1add80f4881 100644 (file)
@@ -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