fix: enemies on path not resetting aggro radius correctly (#2015)

tested that aggro is reset correctly and enemies no longer infinitely path to players.  Tether now properly calculates the time to tether instead of guessing
This commit is contained in:
David Markowitz
2026-07-17 23:05:17 -07:00
committed by GitHub
parent 35337291fa
commit 8f2004c9a3
4 changed files with 56 additions and 16 deletions

View File

@@ -209,6 +209,13 @@ public:
*/
static float GetBaseSpeed(LOT lot);
/**
* Returns the total distance remaining along the current path, following the
* interpolated waypoints from the entity's current position to the final destination.
* @return the total remaining path distance in world units
*/
float GetRemainingPathDistance() const;
bool IsPaused() const { return m_Paused; }
bool OnGetObjectReportInfo(GameMessages::GetObjectReportInfo& reportInfo);