OpenPerpetuum / PerpetuumServer

The Open Perpetuum Project's fork of the Perpetuum Standalone Server
https://openperpetuum.com
Other
44 stars 21 forks source link

Fix OpenPerpetuum/PerpetuumServer#342 #488

Closed aqpanaciy closed 6 months ago

aqpanaciy commented 6 months ago

Fix - "NPCs don't move" while aggro due to:

  1. Normalization of zero length vector;
  2. Zeroing speed and fail to find path to hostile;
  3. Don't process stationary primary hostile.

No other reasons were found during testing.