projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
053f103
)
Fix bots missing the second teleport when path includes 2 consecutive teleports,...
author
terencehill <piuntn@gmail.com>
Sun, 24 Sep 2017 15:21:11 +0000
(17:21 +0200)
committer
terencehill <piuntn@gmail.com>
Sun, 24 Sep 2017 15:21:11 +0000
(17:21 +0200)
qcsrc/server/bot/default/navigation.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/bot/default/navigation.qc
b/qcsrc/server/bot/default/navigation.qc
index 576c9d62c74bed4d80303ce0526060ee73f2fd8d..cfe4320f97486bde54d6e92b701fb1add80f4881 100644
(file)
--- 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