diff options
author | Melanie Thielker | 2010-06-14 02:28:31 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-06-14 02:28:31 +0200 |
commit | 9b30f446729e16c165551ecf0756dedb85d8b269 (patch) | |
tree | f4ea83a7bd375922daa029a3729229bbacc8e0be /OpenSim | |
parent | Guard against a potential nullref (diff) | |
download | opensim-SC-9b30f446729e16c165551ecf0756dedb85d8b269.zip opensim-SC-9b30f446729e16c165551ecf0756dedb85d8b269.tar.gz opensim-SC-9b30f446729e16c165551ecf0756dedb85d8b269.tar.bz2 opensim-SC-9b30f446729e16c165551ecf0756dedb85d8b269.tar.xz |
D.U.H. #2. Inverted test. Again. Argh!
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
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) |