Fix avatars going to corner of region when they are sitting on a child prim and the prim is deleted.

This commit is contained in:
Vegaslon
2014-05-06 11:00:27 -04:00
committed by Justin Clark-Casey (justincc)
parent e245638f24
commit 0faba7dc33

View File

@@ -1421,7 +1421,7 @@ namespace OpenSim.Region.Framework.Scenes
Scene.ForEachScenePresence(sp =>
{
if (!sp.IsChildAgent && sp.ParentID == LocalId)
if (!sp.IsChildAgent && sp.ParentID == part.LocalId)
sp.StandUp();
if (!silent)