aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellScript.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2019-08-18 11:08:06 +0200
committerjackpoz <giacomopoz@gmail.com>2019-08-18 11:08:06 +0200
commit5a980226497605b18f1855fa39f340c10ee9dd53 (patch)
tree9f968e20898d7d4c9d30ba971c0a41e7e00aa7cf /src/server/game/Spells/SpellScript.cpp
parent7ee0891b0fa4589ba39ad63cc93e760f56d7adf2 (diff)
Core/MMaps: Fix mobs evading when target is out of MMap meshes
Fix mobs evading when target is out of MMap meshes causes by an overzealous check added in c602220e02bed1ad76c9e60064eeec5fd97bfe80 when trying to fix an infinite loop in Recast. If the target is outside of the MMap mesh (for example very close to a wall which is an un-walkable area with current TrinityCore settings and that might be changed in the future) Detour will not be able to find the height of the poly and getPolyHeight() will return DT_FAILURE | DT_INVALID_PARAM . Most of the time this is ok and can be ignored and it's still better than having the Unit evade. Fix #23613
Diffstat (limited to 'src/server/game/Spells/SpellScript.cpp')
0 files changed, 0 insertions, 0 deletions