fix a bad c&p

0.9.1.0-post-fixes
UbitUmarov 2019-01-21 14:09:36 +00:00
parent 9e2152d2cb
commit eb9ac87dd9
1 changed files with 4 additions and 4 deletions

View File

@ -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);