mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
refactor(Core/Misc): acore to Acore (#6043)
This commit is contained in:
@@ -886,8 +886,8 @@ GameObject* ChatHandler::GetNearbyGameObject()
|
||||
|
||||
Player* pl = m_session->GetPlayer();
|
||||
GameObject* obj = nullptr;
|
||||
acore::NearestGameObjectCheck check(*pl);
|
||||
acore::GameObjectLastSearcher<acore::NearestGameObjectCheck> searcher(pl, obj, check);
|
||||
Acore::NearestGameObjectCheck check(*pl);
|
||||
Acore::GameObjectLastSearcher<Acore::NearestGameObjectCheck> searcher(pl, obj, check);
|
||||
pl->VisitNearbyGridObject(SIZE_OF_GRIDS, searcher);
|
||||
return obj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user