Correct an uninitialized field in a packet. Thanks, jhurliman.

Fixes Mantis #3831
0.6.6-post-fixes
Melanie Thielker 2009-06-23 08:51:35 +00:00
parent 7f4a3392fc
commit 2d7dd5f63e
1 changed files with 8 additions and 0 deletions

View File

@ -1243,6 +1243,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
handshake.RegionInfo.TerrainDetail3 = args.terrainDetail3; handshake.RegionInfo.TerrainDetail3 = args.terrainDetail3;
handshake.RegionInfo.CacheID = UUID.Random(); //I guess this is for the client to remember an old setting? handshake.RegionInfo.CacheID = UUID.Random(); //I guess this is for the client to remember an old setting?
handshake.RegionInfo2.RegionID = regionInfo.RegionID;
handshake.RegionInfo3.ColoName = Utils.EmptyBytes;
handshake.RegionInfo3.CPUClassID = 0;
handshake.RegionInfo3.CPURatio = 0;
handshake.RegionInfo3.ProductName = Utils.StringToBytes("OpenSim");
handshake.RegionInfo3.ProductSKU = Utils.EmptyBytes;
OutPacket(handshake, ThrottleOutPacketType.Task); OutPacket(handshake, ThrottleOutPacketType.Task);
} }