feat(Core/Grids): Remove WorldObject separation in grid containers (#22595)
This commit is contained in:
parent
c97cee1e4f
commit
73317b2706
63 changed files with 160 additions and 313 deletions
|
|
@ -174,7 +174,7 @@ struct npc_pet_dk_ebon_gargoyle : ScriptedAI
|
|||
std::list<Unit*> targets;
|
||||
Acore::AnyUnfriendlyUnitInObjectRangeCheck u_check(me, me, 50.0f);
|
||||
Acore::UnitListSearcher<Acore::AnyUnfriendlyUnitInObjectRangeCheck> searcher(me, targets, u_check);
|
||||
Cell::VisitAllObjects(me, searcher, 50.0f);
|
||||
Cell::VisitObjects(me, searcher, 50.0f);
|
||||
for (auto const& target : targets)
|
||||
if (target->GetAura(SPELL_DK_SUMMON_GARGOYLE_1, me->GetOwnerGUID()))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue