Core/GameObject: Fix wrong calculation of the spellfous distance

Closes #24177

(cherry picked from commit 828987a46a55ddae59f61dc336d243cd1934a4fe)
This commit is contained in:
Killyana
2021-12-21 23:57:19 +01:00
committed by Shauren
parent 6d9500912c
commit 2de20560fe
@@ -733,7 +733,7 @@ namespace Trinity
if (!go->isSpawned())
return false;
float const dist = go->GetGOInfo()->GetSpellFocusRadius() / 2.f;
float const dist = go->GetGOInfo()->GetSpellFocusRadius();
return go->IsWithinDistInMap(_caster, dist);
}