TryGetScenePresence in TriggerSound is probably meant to be using the ownerID, not the objectID

integration
SignpostMarv 2012-10-05 14:31:50 +01:00 committed by Justin Clark-Casey (justincc)
parent 516ee244b4
commit 6440892788
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
if (!m_scene.TryGetSceneObjectPart(objectID, out part))
{
ScenePresence sp;
if (!m_scene.TryGetScenePresence(objectID, out sp))
if (!m_scene.TryGetScenePresence(ownerID, out sp))
return;
}
else