mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 17:39:09 +00:00
VisitAllObjects to VisitObjects (sync with acore) (#1513)
This commit is contained in:
@@ -21,7 +21,7 @@ bool CollisionValue::Calculate()
|
||||
float range = sPlayerbotAIConfig->contactDistance;
|
||||
Acore::AnyUnitInObjectRangeCheck u_check(bot, range);
|
||||
Acore::UnitListSearcher<Acore::AnyUnitInObjectRangeCheck> searcher(bot, targets, u_check);
|
||||
Cell::VisitAllObjects(bot, searcher, range);
|
||||
Cell::VisitObjects(bot, searcher, range);
|
||||
|
||||
for (Unit* target : targets)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user