Core/GameObject: Fix wrong calculation of the spellfous distance

Closes #24177
This commit is contained in:
Killyana
2020-02-19 17:44:45 +01:00
parent c7b8bf98a9
commit 828987a46a

View File

@@ -675,7 +675,7 @@ namespace Trinity
if (!go->isSpawned())
return false;
float const dist = go->GetGOInfo()->spellFocus.dist / 2.f;
float const dist = go->GetGOInfo()->spellFocus.dist;
return go->IsWithinDistInMap(_caster, dist);
}