diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs index dda9c1c..2a7af87 100644 --- a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs | |||
@@ -155,7 +155,7 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap | |||
155 | List<MapBlockData> mapBlocks; | 155 | List<MapBlockData> mapBlocks; |
156 | 156 | ||
157 | mapBlocks = cachedMapBlocks; | 157 | mapBlocks = cachedMapBlocks; |
158 | avatarPresence.ControllingClient.SendMapBlock(mapBlocks); | 158 | avatarPresence.ControllingClient.SendMapBlock(mapBlocks, 0); |
159 | } | 159 | } |
160 | else | 160 | else |
161 | { | 161 | { |
@@ -167,7 +167,7 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap | |||
167 | List<MapBlockData> mapBlocks; | 167 | List<MapBlockData> mapBlocks; |
168 | 168 | ||
169 | mapBlocks = m_scene.SceneGridService.RequestNeighbourMapBlocks((int)m_scene.RegionInfo.RegionLocX - 8, (int)m_scene.RegionInfo.RegionLocY - 8, (int)m_scene.RegionInfo.RegionLocX + 8, (int)m_scene.RegionInfo.RegionLocY + 8); | 169 | mapBlocks = m_scene.SceneGridService.RequestNeighbourMapBlocks((int)m_scene.RegionInfo.RegionLocX - 8, (int)m_scene.RegionInfo.RegionLocY - 8, (int)m_scene.RegionInfo.RegionLocX + 8, (int)m_scene.RegionInfo.RegionLocY + 8); |
170 | avatarPresence.ControllingClient.SendMapBlock(mapBlocks); | 170 | avatarPresence.ControllingClient.SendMapBlock(mapBlocks,0); |
171 | 171 | ||
172 | lock (cachedMapBlocks) | 172 | lock (cachedMapBlocks) |
173 | cachedMapBlocks = mapBlocks; | 173 | cachedMapBlocks = mapBlocks; |
@@ -245,7 +245,7 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap | |||
245 | { | 245 | { |
246 | List<MapBlockData> mapBlocks; | 246 | List<MapBlockData> mapBlocks; |
247 | mapBlocks = m_scene.SceneGridService.RequestNeighbourMapBlocks(minX - 4, minY - 4, minX + 4, minY + 4); | 247 | mapBlocks = m_scene.SceneGridService.RequestNeighbourMapBlocks(minX - 4, minY - 4, minX + 4, minY + 4); |
248 | remoteClient.SendMapBlock(mapBlocks); | 248 | remoteClient.SendMapBlock(mapBlocks, flag); |
249 | } | 249 | } |
250 | 250 | ||
251 | public Hashtable OnHTTPGetMapImage(Hashtable keysvals) | 251 | public Hashtable OnHTTPGetMapImage(Hashtable keysvals) |