aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Grids/Notifiers
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-02-15 03:07:41 -0300
committerShauren <shauren.trinity@gmail.com>2021-06-21 00:06:41 +0200
commit1f3e365ff6c010424746f34104d1228fb6a96b8a (patch)
treeeae3dc557de0cbda963831317af83d74deff071d /src/server/game/Grids/Notifiers
parent16b1f5c7f6324dcd5ac5803cae343359c5ba8611 (diff)
Core/Auras: make area and dynauras condition compliant by using the spellarea searcher instead of script searchers
Closes #17317 (cherry picked from commit f1f6976f91952806f8b2bcc23fbbef5a8075fe73)
Diffstat (limited to 'src/server/game/Grids/Notifiers')
-rw-r--r--src/server/game/Grids/Notifiers/GridNotifiers.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.h b/src/server/game/Grids/Notifiers/GridNotifiers.h
index 6713698e1a2..0f584f9a999 100644
--- a/src/server/game/Grids/Notifiers/GridNotifiers.h
+++ b/src/server/game/Grids/Notifiers/GridNotifiers.h
@@ -1095,9 +1095,6 @@ namespace Trinity
AnyAoETargetUnitInObjectRangeCheck(WorldObject const* obj, Unit const* funit, float range, SpellInfo const* spellInfo = nullptr, bool incOwnRadius = true, bool incTargetRadius = true)
: i_obj(obj), i_funit(funit), _spellInfo(spellInfo), i_range(range), i_incOwnRadius(incOwnRadius), i_incTargetRadius(incTargetRadius)
{
- if (!_spellInfo)
- if (DynamicObject const* dynObj = i_obj->ToDynObject())
- _spellInfo = dynObj->GetSpellInfo();
}
bool operator()(Unit* u) const