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:
parent
9d6f823f1e
commit
9a8ca06e31
4 changed files with 30 additions and 19 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue