diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index aad78d5..c531702 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -294,15 +294,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
294 | public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY) | 294 | public virtual void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY) |
295 | { | 295 | { |
296 | List<MapBlockData> mapBlocks; | 296 | List<MapBlockData> mapBlocks; |
297 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX-2, minY-2, minX+2, minY+2); | 297 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX-4, minY-4, minX+4, minY+4); |
298 | remoteClient.SendMapBlock(mapBlocks); | ||
299 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX - 2, minY +3, minX +5, minY +5); | ||
300 | remoteClient.SendMapBlock(mapBlocks); | ||
301 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX +3, minY -5, minX + 5, minY + 2); | ||
302 | remoteClient.SendMapBlock(mapBlocks); | ||
303 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX -5, minY - 5, minX + 2, minY -3); | ||
304 | remoteClient.SendMapBlock(mapBlocks); | ||
305 | mapBlocks = m_commsProvider.GridService.RequestNeighbourMapBlocks(minX - 5, minY - 2, minX -3, minY + 5); | ||
306 | remoteClient.SendMapBlock(mapBlocks); | 298 | remoteClient.SendMapBlock(mapBlocks); |
307 | } | 299 | } |
308 | 300 | ||