aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 2654b5a..99b6189 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5876,8 +5876,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5876 m_host.AddScriptLPS(1); 5876 m_host.AddScriptLPS(1);
5877 if (m_SoundModule != null) 5877 if (m_SoundModule != null)
5878 { 5878 {
5879 double radius1 = llVecDist(llGetPos(), top_north_east); 5879 double radius1 = VecDist(m_host.GetWorldPosition(), top_north_east);
5880 double radius2 = llVecDist(llGetPos(), bottom_south_west); 5880 double radius2 = VecDist(m_host.GetWorldPosition(), bottom_south_west);
5881 double radius = Math.Abs(radius1 - radius2); 5881 double radius = Math.Abs(radius1 - radius2);
5882 m_SoundModule.SendSound(m_host.UUID, 5882 m_SoundModule.SendSound(m_host.UUID,
5883 KeyOrName(sound, AssetType.Sound), volume, true, 0, 5883 KeyOrName(sound, AssetType.Sound), volume, true, 0,