fix a bad c&p
parent
9e2152d2cb
commit
eb9ac87dd9
|
@ -4355,10 +4355,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Everything else goes here
|
// Everything else goes here
|
||||||
if (terseAgentUpdateBlocks == null)
|
if (terseUpdateBlocks == null)
|
||||||
{
|
{
|
||||||
terseAgentUpdateBlocks = new List<ImprovedTerseObjectUpdatePacket.ObjectDataBlock>();
|
terseUpdateBlocks = new List<ImprovedTerseObjectUpdatePacket.ObjectDataBlock>();
|
||||||
terseAgentUpdates = new List<EntityUpdate>();
|
terseUpdates = new List<EntityUpdate>();
|
||||||
}
|
}
|
||||||
terseUpdateBlocks.Add(ablock);
|
terseUpdateBlocks.Add(ablock);
|
||||||
terseUpdates.Add(update);
|
terseUpdates.Add(update);
|
||||||
|
@ -4394,7 +4394,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
|
|
||||||
timeDilation = Utils.FloatToUInt16(m_scene.TimeDilation, 0.0f, 1.0f);
|
timeDilation = Utils.FloatToUInt16(m_scene.TimeDilation, 0.0f, 1.0f);
|
||||||
|
|
||||||
if (terseAgentUpdateBlocks!= null)
|
if (terseAgentUpdateBlocks != null)
|
||||||
{
|
{
|
||||||
ImprovedTerseObjectUpdatePacket packet
|
ImprovedTerseObjectUpdatePacket packet
|
||||||
= (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket(PacketType.ImprovedTerseObjectUpdate);
|
= (ImprovedTerseObjectUpdatePacket)PacketPool.Instance.GetPacket(PacketType.ImprovedTerseObjectUpdate);
|
||||||
|
|
Loading…
Reference in New Issue