Improved monsters targeting👾 (#203)

Improved monsters targeting
Fixed aim offset for monsters
This commit is contained in:
Hedgehog Fog 2020-12-09 19:00:43 +02:00 committed by GitHub
commit ed46e3238d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 7 deletions

View file

@ -765,6 +765,7 @@ private:
float isInFOV (const Vector &dest);
float getShiftSpeed ();
float getEnemyBodyOffsetCorrection (float distance);
float calculateScaleFactor (edict_t *ent);
bool canReplaceWeapon ();
bool canDuckUnder (const Vector &normal);