Skip to content

Commit

Permalink
Update Object.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkysc authored Feb 4, 2025
1 parent 4099a54 commit 1a6bbaa
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/server/game/Entities/Object/Object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2524,13 +2524,6 @@ void WorldObject::GetDeadCreatureListInGrid(std::list<Creature*>& creaturedeadLi
Cell::VisitGridObjects(this, searcher, maxSearchRange);
}

void WorldObject::GetCreaturesNearbyList(std::list<Creature*>& creatureList, float maxSearchRange) const
{
Acore::AnyCreatureInObjectRangeCheck check(this, maxSearchRange);
Acore::CreatureListSearcher<Acore::AnyCreatureInObjectRangeCheck> searcher(this, creatureList, check);
Cell::VisitGridObjects(this, searcher, maxSearchRange);
}

/*
namespace Acore
{
Expand Down

0 comments on commit 1a6bbaa

Please sign in to comment.