fix VisitObjects call
This commit is contained in:
parent
7de504c0af
commit
41b2cfb9a8
@ -40,7 +40,7 @@ namespace
|
|||||||
std::list<GameObject*> goList;
|
std::list<GameObject*> goList;
|
||||||
Acore::AllGameObjectsMatchingOneEntryInRange check(plr, sBobberEntries, sScanRange);
|
Acore::AllGameObjectsMatchingOneEntryInRange check(plr, sBobberEntries, sScanRange);
|
||||||
Acore::GameObjectListSearcher<Acore::AllGameObjectsMatchingOneEntryInRange> searcher(plr, goList, check);
|
Acore::GameObjectListSearcher<Acore::AllGameObjectsMatchingOneEntryInRange> searcher(plr, goList, check);
|
||||||
Cell::VisitGridObjects(plr, searcher, sScanRange);
|
Cell::VisitObjects(plr, searcher, sScanRange);
|
||||||
|
|
||||||
for (GameObject* go : goList)
|
for (GameObject* go : goList)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user