diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 2e528f3..e9a3d0b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1812,26 +1812,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1812 | } | 1812 | } |
1813 | } | 1813 | } |
1814 | 1814 | ||
1815 | public double osList2Double(LSL_Types.list src, int index) | ||
1816 | { | ||
1817 | // There is really no double type in OSSL. C# and other | ||
1818 | // have one, but the current implementation of LSL_Types.list | ||
1819 | // is not allowed to contain any. | ||
1820 | // This really should be removed. | ||
1821 | // | ||
1822 | CheckThreatLevel(); | ||
1823 | |||
1824 | if (index < 0) | ||
1825 | { | ||
1826 | index = src.Length + index; | ||
1827 | } | ||
1828 | if (index >= src.Length) | ||
1829 | { | ||
1830 | return 0.0; | ||
1831 | } | ||
1832 | return Convert.ToDouble(src.Data[index]); | ||
1833 | } | ||
1834 | |||
1835 | public void osSetParcelMediaURL(string url) | 1815 | public void osSetParcelMediaURL(string url) |
1836 | { | 1816 | { |
1837 | // What actually is the difference to the LL function? | 1817 | // What actually is the difference to the LL function? |