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

This commit is contained in:
SignpostMarv
2012-10-05 14:31:50 +01:00
committed by Justin Clark-Casey (justincc)
parent 516ee244b4
commit 6440892788

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