fix: bots use buttons too extensively

nav: added more cpu-friendly version to check if bot will fall in combat
This commit is contained in:
jeefo 2024-03-11 15:26:11 +03:00
commit 6e09cee0ee
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
6 changed files with 54 additions and 37 deletions

View file

@ -403,6 +403,7 @@ private:
bool isKnifeMode ();
bool isGrenadeWar ();
bool isDeadlyMove (const Vector &to);
bool isSafeToMove (const Vector &to);
bool isOutOfBombTimer ();
bool isWeaponBadAtDistance (int weaponIndex, float distance);
bool needToPauseFiring (float distance);