* Makes SimulatorEnable messages 'reliable' and subject to redelivery.

remotes/origin/0.6.7-post-fixes
Adam Frisby 2009-09-23 10:30:18 +10:00
parent 97c18caa76
commit 5dc3e560d3
1 changed files with 3 additions and 0 deletions

View File

@ -1664,6 +1664,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
enablesimpacket.SimulatorInfo.IP += (uint)byteIP[1] << 8; enablesimpacket.SimulatorInfo.IP += (uint)byteIP[1] << 8;
enablesimpacket.SimulatorInfo.IP += (uint)byteIP[0]; enablesimpacket.SimulatorInfo.IP += (uint)byteIP[0];
enablesimpacket.SimulatorInfo.Port = neighbourPort; enablesimpacket.SimulatorInfo.Port = neighbourPort;
enablesimpacket.Header.Reliable = true; // ESP's should be reliable.
OutPacket(enablesimpacket, ThrottleOutPacketType.Task); OutPacket(enablesimpacket, ThrottleOutPacketType.Task);
} }