another compile fix try

This commit is contained in:
Aokromes committed 2016-10-24 16:29:25 +02:00
1 parent 29cd5e0f6b
commit cb052ff0f3
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -2329,8 +2329,8 @@ template <typename Container>
void WorldObject::GetPlayerListInGrid(Container& playerContainer, float maxSearchRange) const
{
Trinity::AnyPlayerInObjectRangeCheck checker(this, maxSearchRange);
Trinity::PlayerListSearcher<Trinity::AnyPlayerInObjectRangeCheck> searcher(this, playerList, checker);
this->VisitNearbyWorldObject(maxSearchRange, searcher);
Trinity::PlayerListSearcher<Trinity::AnyPlayerInObjectRangeCheck> searcher(this, playerContainer, checker);
VisitNearbyWorldObject(maxSearchRange, searcher);
}
void WorldObject::GetNearPoint2D(float &x, float &y, float distance2d, float absAngle) const