Merge pull request #14103 from Epicurus4/6.x

Added a player searcher
(cherry picked from commit b7052d2ed7)
This commit is contained in:
Duarte Duarte
2015-02-22 05:49:39 +00:00
parent cffef1e80d
commit a6505dd46a
4 changed files with 14 additions and 0 deletions

View File

@@ -663,3 +663,8 @@ void GetGameObjectListWithEntryInGrid(std::list<GameObject*>& list, WorldObject*
{
source->GetGameObjectListWithEntryInGrid(list, entry, maxSearchRange);
}
void GetPlayerListInGrid(std::list<Player*>& list, WorldObject* source, float maxSearchRange)
{
source->GetPlayerListInGrid(list, maxSearchRange);
}