diff options
| author | ccrs <ccrs@users.noreply.github.com> | 2021-08-10 13:08:49 +0200 |
|---|---|---|
| committer | ccrs <ccrs@users.noreply.github.com> | 2021-08-10 13:08:49 +0200 |
| commit | d49b6af71fae60f4bcb5fed4d745a020657f0b3a (patch) | |
| tree | 70f26156016df5726f16bacae65a09240b727e3c /src/server/game/AI/ScriptedAI | |
| parent | 8c86c4446cb938f660859a627a662a1e66882fd3 (diff) | |
Core/Game: include addtional parameter in Object::GetPlayerListInGrid
Diffstat (limited to 'src/server/game/AI/ScriptedAI')
| -rw-r--r-- | src/server/game/AI/ScriptedAI/ScriptedCreature.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/ScriptedAI/ScriptedCreature.h b/src/server/game/AI/ScriptedAI/ScriptedCreature.h index 6e80dc30438..eec1ce71700 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedCreature.h +++ b/src/server/game/AI/ScriptedAI/ScriptedCreature.h @@ -403,9 +403,9 @@ inline void GetGameObjectListWithEntryInGrid(Container& container, WorldObject* } template <typename Container> -inline void GetPlayerListInGrid(Container& container, WorldObject* source, float maxSearchRange) +inline void GetPlayerListInGrid(Container& container, WorldObject* source, float maxSearchRange, bool alive = true) { - source->GetPlayerListInGrid(container, maxSearchRange); + source->GetPlayerListInGrid(container, maxSearchRange, alive); } #endif // TRINITY_SCRIPTEDCREATURE_H |
