diff options
author | Killyana <morphone1@gmail.com> | 2020-02-19 17:44:45 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-21 23:57:19 +0100 |
commit | 2de20560fe7caccd57fbfd1b17856fac43d5f921 (patch) | |
tree | 8876371bda4e9603f6f496fab5bf3251cfc59502 | |
parent | 6d9500912cc836ad16218f79602f1ad309185c8f (diff) |
Core/GameObject: Fix wrong calculation of the spellfous distance
Closes #24177
(cherry picked from commit 828987a46a55ddae59f61dc336d243cd1934a4fe)
-rw-r--r-- | src/server/game/Grids/Notifiers/GridNotifiers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.h b/src/server/game/Grids/Notifiers/GridNotifiers.h index d8c72015f7a..9481e44299e 100644 --- a/src/server/game/Grids/Notifiers/GridNotifiers.h +++ b/src/server/game/Grids/Notifiers/GridNotifiers.h @@ -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); } |