diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-12-30 15:58:39 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-19 15:54:09 +0100 |
commit | 8d32849b3493d9e819be27945ef31488d8ba6dcf (patch) | |
tree | 0371618a20b054b7fbc899e92b1a474655069549 /src/server/game/AI/CreatureAI.cpp | |
parent | 80dbecbd56a9679a2e29f22f8f554ec2caa1c554 (diff) |
Core/MMaps: Fix charge underwater/falling (#24010)
* Core/MMaps: Fix charge underwater
Fix charge sometimes returning "no path available" when swimming/underwater.
Fix charge selecting a destination point 4 yards above swimming/underwater targets
* Allow falling units to charge targets that are below (lower Z coordinate)
* Disable "raycast" pathfinding as it's not blizzlike.
This might show some strange paths when charging with a target in front.
It also fixes some falling undermap issues.
This Reverts 272009ebeed80bc7749c004348fb1057761cf268
* Remove Z offset when charging a target as it never made sense
(cherry picked from commit 88a14251e2765880e90cb41be7919cd39e3308e2)
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
0 files changed, 0 insertions, 0 deletions