diff options
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 4ed9a0a..ea3c6a4 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3992,6 +3992,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3992 | 3992 | ||
3993 | const float TIME_DILATION = 1.0f; | 3993 | const float TIME_DILATION = 1.0f; |
3994 | ushort timeDilation = Utils.FloatToUInt16(avgTimeDilation, 0.0f, 1.0f); | 3994 | ushort timeDilation = Utils.FloatToUInt16(avgTimeDilation, 0.0f, 1.0f); |
3995 | |||
3995 | 3996 | ||
3996 | if (terseAgentUpdateBlocks.IsValueCreated) | 3997 | if (terseAgentUpdateBlocks.IsValueCreated) |
3997 | { | 3998 | { |
@@ -4972,7 +4973,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4972 | // in that direction, even though we don't model this on the server. Implementing this in the future | 4973 | // in that direction, even though we don't model this on the server. Implementing this in the future |
4973 | // may improve movement smoothness. | 4974 | // may improve movement smoothness. |
4974 | // acceleration = new Vector3(1, 0, 0); | 4975 | // acceleration = new Vector3(1, 0, 0); |
4975 | 4976 | ||
4976 | angularVelocity = Vector3.Zero; | 4977 | angularVelocity = Vector3.Zero; |
4977 | 4978 | ||
4978 | if (sendTexture) | 4979 | if (sendTexture) |
@@ -5844,7 +5845,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5844 | 5845 | ||
5845 | private bool HandleVelocityInterpolateOn(IClientAPI sender, Packet Pack) | 5846 | private bool HandleVelocityInterpolateOn(IClientAPI sender, Packet Pack) |
5846 | { | 5847 | { |
5847 | VelocityInterpolateOffPacket p = (VelocityInterpolateOffPacket)Pack; | 5848 | VelocityInterpolateOnPacket p = (VelocityInterpolateOnPacket)Pack; |
5848 | if (p.AgentData.SessionID != SessionId || | 5849 | if (p.AgentData.SessionID != SessionId || |
5849 | p.AgentData.AgentID != AgentId) | 5850 | p.AgentData.AgentID != AgentId) |
5850 | return true; | 5851 | return true; |