(re)fix avatar standup from a child prim on object delete

LSLKeyTest
UbitUmarov 2016-08-22 00:28:54 +01:00
parent 67a853a70e
commit 426e8a798f
1 changed files with 1 additions and 1 deletions

View File

@ -2078,7 +2078,7 @@ namespace OpenSim.Region.Framework.Scenes
Scene.ForEachScenePresence(delegate(ScenePresence avatar)
{
if (!avatar.IsChildAgent && avatar.ParentID == LocalId && avatar.ParentUUID == UUID.Zero)
if (!avatar.IsChildAgent && avatar.ParentID == part.LocalId && avatar.ParentUUID == UUID.Zero)
avatar.StandUp();
if (!silent)