graph: fixed CT camp point color

combat: changes and additions to attack moves
refactor: various fixes
---------

Co-authored-by: jeefo <jeefo@rwsh.ru>
This commit is contained in:
commandcobra7 2023-03-20 09:42:55 +03:00 committed by GitHub
commit 9a8ca06e31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 19 deletions

View file

@ -1874,6 +1874,19 @@ int Bot::findNearestNode () {
index = at;
minimum = distance;
}
// @pr-419: temporarily disabled due to cpu usage
#if 0
else {
TraceResult tr {};
game.testHull (getEyesPos (), graph[at].origin, TraceIgnore::Monsters, head_hull, ent (), &tr);
if (tr.flFraction >= 1.0f && !tr.fStartSolid) {
index = at;
minimum = distance;
}
}
#endif
}
}