diff options
author | Vegaslon | 2014-05-06 11:00:27 -0400 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-05-06 17:41:13 +0100 |
commit | 0faba7dc33e2048c68f55b8708ade1b1164fcff3 (patch) | |
tree | 58f17da7b995b1c1adbb1044890f10dead79149a /OpenSim/Region/Framework/Scenes | |
parent | Change llUnSit to be able to unsit any avatar that is currently sat on the ob... (diff) | |
download | opensim-SC_OLD-0faba7dc33e2048c68f55b8708ade1b1164fcff3.zip opensim-SC_OLD-0faba7dc33e2048c68f55b8708ade1b1164fcff3.tar.gz opensim-SC_OLD-0faba7dc33e2048c68f55b8708ade1b1164fcff3.tar.bz2 opensim-SC_OLD-0faba7dc33e2048c68f55b8708ade1b1164fcff3.tar.xz |
Fix avatars going to corner of region when they are sitting on a child prim and the prim is deleted.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 0356599..3b1c5d8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1421,7 +1421,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1421 | 1421 | ||
1422 | Scene.ForEachScenePresence(sp => | 1422 | Scene.ForEachScenePresence(sp => |
1423 | { | 1423 | { |
1424 | if (!sp.IsChildAgent && sp.ParentID == LocalId) | 1424 | if (!sp.IsChildAgent && sp.ParentID == part.LocalId) |
1425 | sp.StandUp(); | 1425 | sp.StandUp(); |
1426 | 1426 | ||
1427 | if (!silent) | 1427 | if (!silent) |