mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Acore - rename namespaces and macros to acore
Fix Mod Eluna
This commit is contained in:
@@ -1254,8 +1254,8 @@ namespace LuaUnit
|
||||
Trinity::UnitListSearcher<Trinity::AnyFriendlyUnitInObjectRangeCheck> searcher(unit, list, checker);
|
||||
Cell::VisitAllObjects(unit, searcher, range);
|
||||
#elif AZEROTHCORE
|
||||
Trinity::AnyFriendlyUnitInObjectRangeCheck checker(unit, unit, range);
|
||||
Trinity::UnitListSearcher<Trinity::AnyFriendlyUnitInObjectRangeCheck> searcher(unit, list, checker);
|
||||
acore::AnyFriendlyUnitInObjectRangeCheck checker(unit, unit, range);
|
||||
acore::UnitListSearcher<acore::AnyFriendlyUnitInObjectRangeCheck> searcher(unit, list, checker);
|
||||
unit->VisitNearbyObject(range, searcher);
|
||||
#else
|
||||
MaNGOS::AnyFriendlyUnitInObjectRangeCheck checker(unit, range);
|
||||
@@ -1295,8 +1295,8 @@ namespace LuaUnit
|
||||
Trinity::UnitListSearcher<Trinity::AnyUnfriendlyUnitInObjectRangeCheck> searcher(unit, list, checker);
|
||||
Cell::VisitAllObjects(unit, searcher, range);
|
||||
#elif AZEROTHCORE
|
||||
Trinity::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, unit, range);
|
||||
Trinity::UnitListSearcher<Trinity::AnyUnfriendlyUnitInObjectRangeCheck> searcher(unit, list, checker);
|
||||
acore::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, unit, range);
|
||||
acore::UnitListSearcher<acore::AnyUnfriendlyUnitInObjectRangeCheck> searcher(unit, list, checker);
|
||||
unit->VisitNearbyObject(range, searcher);
|
||||
#else
|
||||
MaNGOS::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, range);
|
||||
|
||||
Reference in New Issue
Block a user