change: increase defend node search radius

change: more fixes to aiming table
This commit is contained in:
dmitry 2021-09-17 14:40:39 +03:00
commit e0f3317b1a
No known key found for this signature in database
GPG key ID: 8297CE728B7A7E37
2 changed files with 3 additions and 3 deletions

View file

@ -1841,7 +1841,7 @@ int Bot::findDefendNode (const Vector &origin) {
int distance = graph.getPathDist (srcIndex, i);
// skip wayponts with distance more than 512 units
if (distance > 512) {
if (distance > 1024) {
continue;
}
game.testLine (graph[i].origin, graph[posIndex].origin, TraceIgnore::Everything, ent (), &tr);