aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorSignpostMarv2012-10-05 14:31:50 +0100
committerJustin Clark-Casey (justincc)2012-10-29 23:38:57 +0000
commit644089278814a269d30fe8198e6a000e6e3153e7 (patch)
tree4a3439bd2b13f3c0bd53e4d1e4ee9cb53bc193cc /OpenSim/Region/CoreModules
parentswapping GetSceneObjectPart for TryGetSceneObjectPart in PlayAttachedSound to... (diff)
downloadopensim-SC_OLD-644089278814a269d30fe8198e6a000e6e3153e7.zip
opensim-SC_OLD-644089278814a269d30fe8198e6a000e6e3153e7.tar.gz
opensim-SC_OLD-644089278814a269d30fe8198e6a000e6e3153e7.tar.bz2
opensim-SC_OLD-644089278814a269d30fe8198e6a000e6e3153e7.tar.xz
TryGetScenePresence in TriggerSound is probably meant to be using the ownerID, not the objectID
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
index 917b3dc..f0e446f 100644
--- a/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
+++ b/OpenSim/Region/CoreModules/World/Sound/SoundModuleNonShared.cs
@@ -145,7 +145,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
145 if (!m_scene.TryGetSceneObjectPart(objectID, out part)) 145 if (!m_scene.TryGetSceneObjectPart(objectID, out part))
146 { 146 {
147 ScenePresence sp; 147 ScenePresence sp;
148 if (!m_scene.TryGetScenePresence(objectID, out sp)) 148 if (!m_scene.TryGetScenePresence(ownerID, out sp))
149 return; 149 return;
150 } 150 }
151 else 151 else