mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Correct an uninitialized field in a packet. Thanks, jhurliman.
Fixes Mantis #3831
This commit is contained in:
@@ -1243,6 +1243,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
handshake.RegionInfo.TerrainDetail3 = args.terrainDetail3;
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user