aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2020-01-09 19:38:45 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-20 20:35:37 +0100
commitdd929665e564e01b5346844adb96d8fd0eb710c4 (patch)
tree7dd195d37d2902bec87823b13910db349a8911d7 /dep/CascLib/src
parentfd265269720e64bf39dae205b670b25a677a3938 (diff)
Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon (#24036)
* Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon Fix path generator returning shortcuts when start and end are on the same polygon by handling this case as if start and end were on 2 different polygons. This will ensure BuildPointPath() gets called which calls FindSmoothPath(), making sure each step is not longer than SMOOTH_PATH_STEP_SIZE (4 yards) * Change ingame cast error message to SPELL_FAILED_NOPATH from SPELL_FAILED_OUT_OF_RANGE if the generated path is too long (cherry picked from commit 29bf280e3496cf13c24ccb20e37da29d3bfa74d9)
Diffstat (limited to 'dep/CascLib/src')
0 files changed, 0 insertions, 0 deletions