diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-01-20 08:15:31 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-20 23:15:54 +0100 |
commit | 1a070fd1271702689314ed13351de3675e834cde (patch) | |
tree | ae6cc37b00f8d9fc37eb119bcdc1fbae38e2685f /src/server/game/Maps/MapManager.cpp | |
parent | 575e18b12035beed6f892920e041f278ab4cb780 (diff) |
Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon (#24083)
* Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon
Second try of handling paths on same poly in a better way than just building a shortcut
* Fix movement generators using paths with start/end positions far from mmap polygons
* Include flag PATHFIND_FARFROMPOLY even with a normal path if start or end were far away from mmap poly
(cherry picked from commit 67d9d04d63cc74196059646b2e57f50a4a4fd2ca)
Diffstat (limited to 'src/server/game/Maps/MapManager.cpp')
0 files changed, 0 insertions, 0 deletions