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.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 610cb14..2b6a3fd 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5877,12 +5877,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5877 m_host.AddScriptLPS(1); 5877 m_host.AddScriptLPS(1);
5878 if (m_SoundModule != null) 5878 if (m_SoundModule != null)
5879 { 5879 {
5880 float radius1 = (float)llVecDist(llGetPos(), top_north_east); 5880 double radius1 = llVecDist(llGetPos(), top_north_east);
5881 float radius2 = (float)llVecDist(llGetPos(), bottom_south_west); 5881 double radius2 = llVecDist(llGetPos(), bottom_south_west);
5882 float radius = Math.Abs(radius1 - radius2); 5882 double radius = Math.Abs(radius1 - radius2);
5883 m_SoundModule.SendSound(m_host.UUID, 5883 m_SoundModule.SendSound(m_host.UUID,
5884 KeyOrName(sound, AssetType.Sound), volume, true, 0, 5884 KeyOrName(sound, AssetType.Sound), volume, true, 0,
5885 radius, false, false); 5885 (float)radius, false, false);
5886 } 5886 }
5887 } 5887 }
5888 5888