aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs4
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs1
3 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
index 3a38497..905ba7f 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
@@ -1864,6 +1864,10 @@ namespace OpenSim.Region.ScriptEngine.Common
1864 m_LSL_Functions.osRegionNotice(msg); 1864 m_LSL_Functions.osRegionNotice(msg);
1865 } 1865 }
1866 1866
1867 public double llList2Float(LSL_Types.list src, int index)
1868 {
1869 return m_LSL_Functions.llList2Float(src, index);
1870 }
1867 1871
1868 1872
1869 // LSL CONSTANTS 1873 // LSL CONSTANTS
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 66475c3..c9fd873 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1814,7 +1814,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1814 { 1814 {
1815 return 0.0; 1815 return 0.0;
1816 } 1816 }
1817 return Convert.ToSingle(src.Data[index]); 1817 return Convert.ToDouble(src.Data[index]);
1818 } 1818 }
1819 1819
1820 public string llList2String(LSL_Types.list src, int index) 1820 public string llList2String(LSL_Types.list src, int index)
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
index f6ccca3..9ebc08d 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
@@ -354,6 +354,7 @@ namespace OpenSim.Region.ScriptEngine.Common
354 //wiki: integer llList2Integer(list src, integer index) 354 //wiki: integer llList2Integer(list src, integer index)
355 int llList2Integer(LSL_Types.list src, int index); 355 int llList2Integer(LSL_Types.list src, int index);
356 //wiki: double llList2double(list src, integer index) 356 //wiki: double llList2double(list src, integer index)
357 double llList2Float(LSL_Types.list src, int index);
357 double osList2Double(LSL_Types.list src, int index); 358 double osList2Double(LSL_Types.list src, int index);
358 //wiki: string llList2String(list src, integer index) 359 //wiki: string llList2String(list src, integer index)
359 string llList2String(LSL_Types.list src, int index); 360 string llList2String(LSL_Types.list src, int index);