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
|
|
@ -911,7 +911,7 @@ public:
|
|||
Creature* passenger = nullptr;
|
||||
Acore::AllCreaturesOfEntryInRange check(handler->GetPlayer(), entry, 20.0f);
|
||||
Acore::CreatureSearcher<Acore::AllCreaturesOfEntryInRange> searcher(handler->GetPlayer(), passenger, check);
|
||||
Cell::VisitAllObjects(handler->GetPlayer(), searcher, 30.0f);
|
||||
Cell::VisitObjects(handler->GetPlayer(), searcher, 30.0f);
|
||||
|
||||
if (!passenger || passenger == target)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue