mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
refactor(Core/Misc): acore to Acore (#6043)
This commit is contained in:
@@ -671,7 +671,7 @@ public:
|
||||
|
||||
void FilterTargets(std::list<WorldObject*>& targets)
|
||||
{
|
||||
targets.remove_if(acore::UnitAuraCheck(true, SPELL_SLEEP));
|
||||
targets.remove_if(Acore::UnitAuraCheck(true, SPELL_SLEEP));
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
@@ -349,8 +349,8 @@ public:
|
||||
{
|
||||
timer = 0;
|
||||
std::list<Player*> players;
|
||||
acore::AnyPlayerExactPositionInGameObjectRangeCheck checker(go, 0.3f);
|
||||
acore::PlayerListSearcher<acore::AnyPlayerExactPositionInGameObjectRangeCheck> searcher(go, players, checker);
|
||||
Acore::AnyPlayerExactPositionInGameObjectRangeCheck checker(go, 0.3f);
|
||||
Acore::PlayerListSearcher<Acore::AnyPlayerExactPositionInGameObjectRangeCheck> searcher(go, players, checker);
|
||||
go->VisitNearbyWorldObject(0.3f, searcher);
|
||||
|
||||
if (players.size() > 0)
|
||||
@@ -396,8 +396,8 @@ public:
|
||||
{
|
||||
timer = 0;
|
||||
std::list<Player*> players;
|
||||
acore::AnyPlayerExactPositionInGameObjectRangeCheck checker(go, 0.3f);
|
||||
acore::PlayerListSearcher<acore::AnyPlayerExactPositionInGameObjectRangeCheck> searcher(go, players, checker);
|
||||
Acore::AnyPlayerExactPositionInGameObjectRangeCheck checker(go, 0.3f);
|
||||
Acore::PlayerListSearcher<Acore::AnyPlayerExactPositionInGameObjectRangeCheck> searcher(go, players, checker);
|
||||
go->VisitNearbyWorldObject(0.3f, searcher);
|
||||
|
||||
if (players.size() > 0)
|
||||
|
||||
Reference in New Issue
Block a user