combat: increase check-wall distance when attacking enemies (ref #620)

This commit is contained in:
jeefo 2025-02-15 21:47:05 +03:00
commit 9fe9e08dfa
No known key found for this signature in database
GPG key ID: D696786B81B667C8
3 changed files with 14 additions and 11 deletions

View file

@ -402,9 +402,9 @@ private:
bool canStrafeRight (TraceResult *tr);
bool isBlockedLeft ();
bool isBlockedRight ();
bool checkWallOnLeft ();
bool checkWallOnRight ();
bool checkWallOnBehind ();
bool checkWallOnLeft (float distance = 40.0f);
bool checkWallOnRight (float distance = 40.0f);
bool checkWallOnBehind (float distance = 40.0f);
bool updateNavigation ();
bool isEnemyThreat ();
bool isWeaponRestricted (int wid);