avinationmerge
UbitUmarov 2012-12-10 11:25:30 +00:00
parent ecdd0e225f
commit c6430b14db
1 changed files with 3 additions and 2 deletions

View File

@ -3993,6 +3993,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
const float TIME_DILATION = 1.0f; const float TIME_DILATION = 1.0f;
ushort timeDilation = Utils.FloatToUInt16(avgTimeDilation, 0.0f, 1.0f); ushort timeDilation = Utils.FloatToUInt16(avgTimeDilation, 0.0f, 1.0f);
if (terseAgentUpdateBlocks.IsValueCreated) if (terseAgentUpdateBlocks.IsValueCreated)
{ {
List<ImprovedTerseObjectUpdatePacket.ObjectDataBlock> blocks = terseAgentUpdateBlocks.Value; List<ImprovedTerseObjectUpdatePacket.ObjectDataBlock> blocks = terseAgentUpdateBlocks.Value;
@ -5844,7 +5845,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private bool HandleVelocityInterpolateOn(IClientAPI sender, Packet Pack) private bool HandleVelocityInterpolateOn(IClientAPI sender, Packet Pack)
{ {
VelocityInterpolateOffPacket p = (VelocityInterpolateOffPacket)Pack; VelocityInterpolateOnPacket p = (VelocityInterpolateOnPacket)Pack;
if (p.AgentData.SessionID != SessionId || if (p.AgentData.SessionID != SessionId ||
p.AgentData.AgentID != AgentId) p.AgentData.AgentID != AgentId)
return true; return true;