aim: fail prediction more correctly
This commit is contained in:
parent
9f41cfb33f
commit
0072bbb413
2 changed files with 3 additions and 3 deletions
|
|
@ -1435,7 +1435,6 @@ void Bot::clearSearchNodes () {
|
|||
|
||||
int Bot::findAimingNode (const Vector &to, int &pathLength) {
|
||||
// return the most distant node which is seen from the bot to the target and is within count
|
||||
|
||||
ensureCurrentNodeIndex ();
|
||||
|
||||
int destIndex = graph.getNearest (to);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue