aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2020-02-19 17:44:45 +0100
committerKillyana <morphone1@gmail.com>2020-02-19 17:44:45 +0100
commit828987a46a55ddae59f61dc336d243cd1934a4fe (patch)
tree8e9a9bc5b78b06b38808d5a5d642d15f73fc6ca3 /src
parentc7b8bf98a91d9f4a6fc34ac3139e5c8288a6145e (diff)
Core/GameObject: Fix wrong calculation of the spellfous distance
Closes #24177
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Grids/Notifiers/GridNotifiers.h2
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 3fd95339948..71f420482a5 100644
--- a/src/server/game/Grids/Notifiers/GridNotifiers.h
+++ b/src/server/game/Grids/Notifiers/GridNotifiers.h
@@ -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);
}