diff --git a/UnitMethods.h b/UnitMethods.h index 9b2bf23..8d60aa8 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -1262,8 +1262,8 @@ namespace LuaUnit Trinity::UnitListSearcher searcher(unit, list, checker); Cell::VisitAllObjects(unit, searcher, range); #elif AZEROTHCORE - acore::AnyFriendlyUnitInObjectRangeCheck checker(unit, unit, range); - acore::UnitListSearcher searcher(unit, list, checker); + Acore::AnyFriendlyUnitInObjectRangeCheck checker(unit, unit, range); + Acore::UnitListSearcher searcher(unit, list, checker); unit->VisitNearbyObject(range, searcher); #else MaNGOS::AnyFriendlyUnitInObjectRangeCheck checker(unit, range); @@ -1303,8 +1303,8 @@ namespace LuaUnit Trinity::UnitListSearcher searcher(unit, list, checker); Cell::VisitAllObjects(unit, searcher, range); #elif AZEROTHCORE - acore::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, unit, range); - acore::UnitListSearcher searcher(unit, list, checker); + Acore::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, unit, range); + Acore::UnitListSearcher searcher(unit, list, checker); unit->VisitNearbyObject(range, searcher); #else MaNGOS::AnyUnfriendlyUnitInObjectRangeCheck checker(unit, range); diff --git a/WorldObjectMethods.h b/WorldObjectMethods.h index 98187c6..3883d24 100644 --- a/WorldObjectMethods.h +++ b/WorldObjectMethods.h @@ -188,7 +188,7 @@ namespace LuaWorldObject Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::UnitLastSearcher searcher(obj, target, checker); + Acore::UnitLastSearcher searcher(obj, target, checker); obj->VisitNearbyObject(range,searcher); #else MaNGOS::UnitLastSearcher searcher(target, checker); @@ -220,7 +220,7 @@ namespace LuaWorldObject Trinity::GameObjectLastSearcher searcher(obj, target, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::GameObjectLastSearcher searcher(obj, target, checker); + Acore::GameObjectLastSearcher searcher(obj, target, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::GameObjectLastSearcher searcher(target, checker); @@ -254,7 +254,7 @@ namespace LuaWorldObject Trinity::CreatureLastSearcher searcher(obj, target, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::CreatureLastSearcher searcher(obj, target, checker); + Acore::CreatureLastSearcher searcher(obj, target, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::CreatureLastSearcher searcher(target, checker); @@ -287,7 +287,7 @@ namespace LuaWorldObject Trinity::PlayerListSearcher searcher(obj, list, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::PlayerListSearcher searcher(obj, list, checker); + Acore::PlayerListSearcher searcher(obj, list, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::PlayerListSearcher searcher(list, checker); @@ -331,7 +331,7 @@ namespace LuaWorldObject Trinity::CreatureListSearcher searcher(obj, list, checker); Cell::VisitAllObjects(obj, searcher, range); #elif defined AZEROTHCORE - acore::CreatureListSearcher searcher(obj, list, checker); + Acore::CreatureListSearcher searcher(obj, list, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::CreatureListSearcher searcher(list, checker); @@ -373,7 +373,7 @@ namespace LuaWorldObject Trinity::GameObjectListSearcher searcher(obj, list, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::GameObjectListSearcher searcher(obj, list, checker); + Acore::GameObjectListSearcher searcher(obj, list, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::GameObjectListSearcher searcher(list, checker); @@ -423,7 +423,7 @@ namespace LuaWorldObject Trinity::WorldObjectLastSearcher searcher(obj, target, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::WorldObjectLastSearcher searcher(obj, target, checker); + Acore::WorldObjectLastSearcher searcher(obj, target, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::WorldObjectLastSearcher searcher(target, checker); @@ -463,7 +463,7 @@ namespace LuaWorldObject Trinity::WorldObjectListSearcher searcher(obj, list, checker); Cell::VisitAllObjects(obj, searcher, range); #elif AZEROTHCORE - acore::WorldObjectListSearcher searcher(obj, list, checker); + Acore::WorldObjectListSearcher searcher(obj, list, checker); obj->VisitNearbyObject(range, searcher); #else MaNGOS::WorldObjectListSearcher searcher(list, checker);