From 0874bf50378290bcc2b3912a532ab447076e9a0b Mon Sep 17 00:00:00 2001 From: Aokromes Date: Mon, 24 Oct 2016 15:38:35 +0200 Subject: [PATCH] Another compile fix try --- src/server/game/Grids/Notifiers/GridNotifiersImpl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server/game/Grids/Notifiers/GridNotifiersImpl.h b/src/server/game/Grids/Notifiers/GridNotifiersImpl.h index cc87e809f7..0b0cd4fe77 100644 --- a/src/server/game/Grids/Notifiers/GridNotifiersImpl.h +++ b/src/server/game/Grids/Notifiers/GridNotifiersImpl.h @@ -460,7 +460,7 @@ void Trinity::UnitListSearcher::Visit(PlayerMapType &m) for (PlayerMapType::iterator itr=m.begin(); itr != m.end(); ++itr) if (itr->GetSource()->IsInPhase(_searcher)) if (i_check(itr->GetSource())) - i_objects.push_back(itr->GetSource()); + Insert(itr->GetSource()); } template @@ -469,7 +469,7 @@ void Trinity::UnitListSearcher::Visit(CreatureMapType &m) for (CreatureMapType::iterator itr=m.begin(); itr != m.end(); ++itr) if (itr->GetSource()->IsInPhase(_searcher)) if (i_check(itr->GetSource())) - i_objects.push_back(itr->GetSource()); + Insert(itr->GetSource()); } // Creature searchers @@ -513,7 +513,7 @@ void Trinity::CreatureListSearcher::Visit(CreatureMapType &m) for (CreatureMapType::iterator itr=m.begin(); itr != m.end(); ++itr) if (itr->GetSource()->IsInPhase(_searcher)) if (i_check(itr->GetSource())) - i_objects.push_back(itr->GetSource()); + Insert(itr->GetSource()); } template @@ -522,7 +522,7 @@ void Trinity::PlayerListSearcher::Visit(PlayerMapType &m) for (PlayerMapType::iterator itr=m.begin(); itr != m.end(); ++itr) if (itr->GetSource()->IsInPhase(_searcher)) if (i_check(itr->GetSource())) - i_objects.push_back(itr->GetSource()); + Insert(itr->GetSource()); } template