fix: bot is marked as stale when not needed

bot: port enemy noticeable function from regamedll
This commit is contained in:
jeefo 2023-05-07 01:04:09 +03:00
commit 2b2b82ee13
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
6 changed files with 122 additions and 28 deletions

View file

@ -140,7 +140,7 @@ public:
~Game () = default;
public:
// precaches internal stuff
// preaches internal stuff
void precache ();
// initialize levels

View file

@ -893,6 +893,7 @@ private:
bool updateLiftStates ();
bool canRunHeavyWeight ();
bool isEnemyInSight (Vector &endPos);
bool isEnemyNoticeable (float range);
void doPlayerAvoidance (const Vector &normal);
void selectCampButtons (int index);