darkman1983/TrinityCore — comment on commit 290d1561dc96460e64c582190aeb5452a55e52e2
File:  line 0
By DarkS1de:

In boss_yoggsaron.cpp error of compile:

void GetAliveSaronitCreatureListInGrid(std::list& lList, float fMaxSearchRange)
{
- CellPair pair(Trinity::ComputeCellPair(me->GetPositionX(), me->GetPositionY()));
+ CellCoord pair(Trinity::ComputeCellCoord(me->GetPositionX(), me->GetPositionY()));
Cell cell(pair);
- cell.data.Part.reserved = ALL_DISTRICT;
cell.SetNoCreate();

AllSaronitCreaturesInRange check(me, fMaxSearchRange);
Trinity::CreatureListSearcher searcher(me, lList, check);
TypeContainerVisitor, GridTypeMapContainer> visitor(searcher);

- cell.Visit(pair, visitor, *(me->GetMap()));
+ cell.Visit(pair, visitor, *me->GetMap(), *me, me->GetGridActivationRange());
}