Core/Gridmonster: Increased upper value for search radius to size of grid
This commit is contained in:
@@ -1869,8 +1869,8 @@ void Map::UpdateObjectsVisibilityFor(Player* player, Cell cell, CellPair cellpai
|
||||
cell.SetNoCreate();
|
||||
TypeContainerVisitor<Trinity::VisibleNotifier, WorldTypeMapContainer > world_notifier(notifier);
|
||||
TypeContainerVisitor<Trinity::VisibleNotifier, GridTypeMapContainer > grid_notifier(notifier);
|
||||
cell.Visit(cellpair, world_notifier, *this, *player, player->GetVisibilityRange());
|
||||
cell.Visit(cellpair, grid_notifier, *this, *player, player->GetVisibilityRange());
|
||||
cell.Visit(cellpair, world_notifier, *this, *player, player->GetSightRange());
|
||||
cell.Visit(cellpair, grid_notifier, *this, *player, player->GetSightRange());
|
||||
|
||||
// send data
|
||||
notifier.SendToSelf();
|
||||
|
||||
Reference in New Issue
Block a user