diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs index 50403b9..f4d2848 100644 --- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | |||
@@ -452,7 +452,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC | |||
452 | { | 452 | { |
453 | } | 453 | } |
454 | 454 | ||
455 | public virtual void SendMapBlock(List<MapBlockData> mapBlocks) | 455 | public virtual void SendMapBlock(List<MapBlockData> mapBlocks, uint flag) |
456 | { | 456 | { |
457 | } | 457 | } |
458 | 458 | ||
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) |