aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMelanie Thielker2010-06-14 02:28:31 +0200
committerMelanie Thielker2010-06-14 02:28:31 +0200
commit9b30f446729e16c165551ecf0756dedb85d8b269 (patch)
treef4ea83a7bd375922daa029a3729229bbacc8e0be /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentGuard against a potential nullref (diff)
downloadopensim-SC_OLD-9b30f446729e16c165551ecf0756dedb85d8b269.zip
opensim-SC_OLD-9b30f446729e16c165551ecf0756dedb85d8b269.tar.gz
opensim-SC_OLD-9b30f446729e16c165551ecf0756dedb85d8b269.tar.bz2
opensim-SC_OLD-9b30f446729e16c165551ecf0756dedb85d8b269.tar.xz
D.U.H. #2. Inverted test. Again. Argh!
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 9c507c2..6d2cd88 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -467,7 +467,7 @@ namespace OpenSim.Region.Framework.Scenes
467 m_pos = actor.Position; 467 m_pos = actor.Position;
468 468
469 // If we're sitting, we need to update our position 469 // If we're sitting, we need to update our position
470 if (m_parentID == 0) 470 if (m_parentID != 0)
471 { 471 {
472 SceneObjectPart part = m_scene.GetSceneObjectPart(m_parentID); 472 SceneObjectPart part = m_scene.GetSceneObjectPart(m_parentID);
473 if (part != null) 473 if (part != null)