feat(Core): GetDeadCreatureListInGrid helper added, for aoe loot (#8445)

This commit is contained in:
acidmanifesto 2021-10-13 10:32:01 -04:00 committed by GitHub
parent b5f8b485a8
commit 430157f71d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 0 deletions

View file

@ -714,3 +714,8 @@ void GetGameObjectListWithEntryInGrid(std::list<GameObject*>& list, WorldObject*
{
source->GetGameObjectListWithEntryInGrid(list, entry, maxSearchRange);
}
void GetDeadCreatureListInGrid(std::list<Creature*>& list, WorldObject* source, float maxSearchRange, bool alive /*= false*/)
{
source->GetDeadCreatureListInGrid(list, maxSearchRange, alive);
}