diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 1a2d4de..20bc59c 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -1463,6 +1463,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1463 | 1463 | ||
1464 | mapReply.AgentData.AgentID = AgentId; | 1464 | mapReply.AgentData.AgentID = AgentId; |
1465 | mapReply.Data = new MapBlockReplyPacket.DataBlock[mapBlocks2.Length]; | 1465 | mapReply.Data = new MapBlockReplyPacket.DataBlock[mapBlocks2.Length]; |
1466 | mapReply.Size = new MapBlockReplyPacket.SizeBlock[mapBlocks2.Length]; | ||
1466 | mapReply.AgentData.Flags = flag; | 1467 | mapReply.AgentData.Flags = flag; |
1467 | 1468 | ||
1468 | for (int i = 0; i < mapBlocks2.Length; i++) | 1469 | for (int i = 0; i < mapBlocks2.Length; i++) |
@@ -1477,6 +1478,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1477 | mapReply.Data[i].RegionFlags = mapBlocks2[i].RegionFlags; | 1478 | mapReply.Data[i].RegionFlags = mapBlocks2[i].RegionFlags; |
1478 | mapReply.Data[i].Access = mapBlocks2[i].Access; | 1479 | mapReply.Data[i].Access = mapBlocks2[i].Access; |
1479 | mapReply.Data[i].Agents = mapBlocks2[i].Agents; | 1480 | mapReply.Data[i].Agents = mapBlocks2[i].Agents; |
1481 | |||
1482 | // TODO: hookup varregion sim size here | ||
1483 | mapReply.Size[i] = new MapBlockReplyPacket.SizeBlock(); | ||
1484 | mapReply.Size[i].SizeX = 256; | ||
1485 | mapReply.Size[i].SizeY = 256; | ||
1480 | } | 1486 | } |
1481 | OutPacket(mapReply, ThrottleOutPacketType.Land); | 1487 | OutPacket(mapReply, ThrottleOutPacketType.Land); |
1482 | } | 1488 | } |