tvl-depot/users/grfn/xanthous/src
Griffin Smith 21c218542c fix(gs/xanthous): Check for reaching destination in AI
Because floating points, it's possible that a creature has reached their
destination even if the *progress* to that destination is at 0 - if that
happens, they should pick a new destination regardless. This fixes the
issue where creatures would occasionally get "stuck" and never move
after wandering around for a bit.

Change-Id: I01a11ce4bd448c25a818c886825e4fad56dffe03
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3885
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2021-11-20 21:49:30 +00:00
..
Data/Aeson/Generic feat(xanthous): Track the volume and density of item types 2021-06-23 21:52:08 +00:00
Xanthous fix(gs/xanthous): Check for reaching destination in AI 2021-11-20 21:49:30 +00:00