diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 24a92eb..596feb1 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3369,19 +3369,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
3369 | 3369 | ||
3370 | public void SendTerseUpdateToAgentClient(ScenePresence p) | 3370 | public void SendTerseUpdateToAgentClient(ScenePresence p) |
3371 | { | 3371 | { |
3372 | // messy checks because a client doesn't know what presence it belongs too | ||
3373 | |||
3374 | IClientAPI remoteClient = p.ControllingClient; | 3372 | IClientAPI remoteClient = p.ControllingClient; |
3375 | if (remoteClient == null) | 3373 | |
3376 | return; | ||
3377 | |||
3378 | if (!remoteClient.IsActive) | ||
3379 | return; | ||
3380 | |||
3381 | if (ParcelHideThisAvatar && p.currentParcelUUID != currentParcelUUID && p.GodLevel < 200) | 3374 | if (ParcelHideThisAvatar && p.currentParcelUUID != currentParcelUUID && p.GodLevel < 200) |
3382 | return; | 3375 | return; |
3383 | 3376 | ||
3384 | |||
3385 | //m_log.DebugFormat("[SCENE PRESENCE]: " + Name + " sending TerseUpdate to " + remoteClient.Name + " : Pos={0} Rot={1} Vel={2}", m_pos, Rotation, m_velocity); | 3377 | //m_log.DebugFormat("[SCENE PRESENCE]: " + Name + " sending TerseUpdate to " + remoteClient.Name + " : Pos={0} Rot={1} Vel={2}", m_pos, Rotation, m_velocity); |
3386 | remoteClient.SendEntityUpdate( | 3378 | remoteClient.SendEntityUpdate( |
3387 | this, | 3379 | this, |