From a1f2f30c145f6ad9c4baeffeff32618e71ff537c Mon Sep 17 00:00:00 2001 From: Chaouki Dhib Date: Thu, 23 Mar 2017 00:43:04 +0100 Subject: Core/Spells: fix wrong distance calculations in AoE spells [Needs testing] (#16290) Core/Spells: Fix wrong distance calculations in AoE spells. Pull request #16290 by chaodhib. God bless, finally. --- src/server/scripts/Outland/zone_shadowmoon_valley.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Outland') diff --git a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp index 3e8b3e4ca95..1f3a7c569ea 100644 --- a/src/server/scripts/Outland/zone_shadowmoon_valley.cpp +++ b/src/server/scripts/Outland/zone_shadowmoon_valley.cpp @@ -521,7 +521,7 @@ public: Tapped = true; float x, y, z; - caster->GetClosePoint(x, y, z, me->GetObjectSize()); + caster->GetClosePoint(x, y, z, me->GetCombatReach()); me->SetWalk(false); me->GetMotionMaster()->MovePoint(1, x, y, z); -- cgit v1.2.3