diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index e643a0e..825e87a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -2584,6 +2584,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2584 | 2584 | ||
2585 | public void SendCoarseLocationUpdate(List<Vector3> CoarseLocations) | 2585 | public void SendCoarseLocationUpdate(List<Vector3> CoarseLocations) |
2586 | { | 2586 | { |
2587 | if (!IsActive) return; // We don't need to update inactive clients. | ||
2588 | |||
2587 | CoarseLocationUpdatePacket loc = (CoarseLocationUpdatePacket)PacketPool.Instance.GetPacket(PacketType.CoarseLocationUpdate); | 2589 | CoarseLocationUpdatePacket loc = (CoarseLocationUpdatePacket)PacketPool.Instance.GetPacket(PacketType.CoarseLocationUpdate); |
2588 | // TODO: don't create new blocks if recycling an old packet | 2590 | // TODO: don't create new blocks if recycling an old packet |
2589 | int total = CoarseLocations.Count; | 2591 | int total = CoarseLocations.Count; |