diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index 103d128..c81eeeb 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -263,7 +263,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
263 | foreach (GridRegion r in regions) | 263 | foreach (GridRegion r in regions) |
264 | { | 264 | { |
265 | MapBlockData block = new MapBlockData(); | 265 | MapBlockData block = new MapBlockData(); |
266 | MapBlockFromGridRegion(block, r); | 266 | MapBlockFromGridRegion(block, r, 0); |
267 | mapBlocks.Add(block); | 267 | mapBlocks.Add(block); |
268 | } | 268 | } |
269 | avatarPresence.ControllingClient.SendMapBlock(mapBlocks, 0); | 269 | avatarPresence.ControllingClient.SendMapBlock(mapBlocks, 0); |
@@ -990,7 +990,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
990 | response.Add(block); | 990 | response.Add(block); |
991 | } | 991 | } |
992 | // The lower 16 bits are an unsigned int16 | 992 | // The lower 16 bits are an unsigned int16 |
993 | remoteClient.SendMapBlock(response, flags & 0xffff); | 993 | remoteClient.SendMapBlock(response, flag & 0xffff); |
994 | } | 994 | } |
995 | else | 995 | else |
996 | { | 996 | { |
@@ -1031,6 +1031,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
1031 | break; | 1031 | break; |
1032 | default: | 1032 | default: |
1033 | block.MapImageId = UUID.Zero; | 1033 | block.MapImageId = UUID.Zero; |
1034 | break; | ||
1034 | } | 1035 | } |
1035 | block.Name = r.RegionName; | 1036 | block.Name = r.RegionName; |
1036 | block.X = (ushort)(r.RegionLocX / Constants.RegionSize); | 1037 | block.X = (ushort)(r.RegionLocX / Constants.RegionSize); |