nav: minor change in ladder use.

aim: slight improvement in enemy prediction node recruitment.
This commit is contained in:
commandcobra7 2024-11-13 17:52:19 +03:00 committed by jeefo
commit 1d60f19402
16 changed files with 151 additions and 145 deletions

View file

@ -1518,6 +1518,8 @@ void Bot::newRound () {
m_trackingEdict = nullptr;
m_enemyBodyPartSet = nullptr;
m_timeNextTracking = 0.0f;
m_lastPredictIndex = kInvalidNodeIndex;
m_lastPredictLength = kInfiniteDistanceLong;
m_buttonPushTime = 0.0f;
m_enemyUpdateTime = 0.0f;