From 2e8b4dc034aa544ec4c11fc1a4a2105d28feccb5 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 13 May 2017 20:42:32 +0200 Subject: Warning fix --- .../scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp index 9a9f0103e97..ef63e45e904 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp @@ -910,7 +910,7 @@ void hyjalAI::HideNearPos(float x, float y) std::list creatures; Trinity::AllFriendlyCreaturesInGrid creature_check(me); Trinity::CreatureListSearcher creature_searcher(me, creatures, creature_check); - Cell::VisitGridObjects(me, creature_searcher, me->GetGridActivationRange()); + Cell::VisitGridObjects(x, y, me->GetMap(), creature_searcher, me->GetGridActivationRange()); if (!creatures.empty()) { @@ -926,7 +926,7 @@ void hyjalAI::RespawnNearPos(float x, float y) { Trinity::RespawnDo u_do; Trinity::WorldObjectWorker worker(me, u_do); - Cell::VisitGridObjects(me, worker, me->GetGridActivationRange()); + Cell::VisitGridObjects(x, y, me->GetMap(), worker, me->GetGridActivationRange()); } void hyjalAI::WaypointReached(uint32 waypointId) -- cgit v1.2.3