aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-26 01:50:46 +0100
committerJustin Clark-Casey (justincc)2012-10-26 01:50:46 +0100
commit1b3b7a61acf8784af3167a35c0f06eaeb413af9c (patch)
tree620d39f1b8a435b86289a8b153685b7d83b41d28 /OpenSim/Region/ScriptEngine
parentRemoving the apparently superfluous explicit namespace reference so that the ... (diff)
downloadopensim-SC_OLD-1b3b7a61acf8784af3167a35c0f06eaeb413af9c.zip
opensim-SC_OLD-1b3b7a61acf8784af3167a35c0f06eaeb413af9c.tar.gz
opensim-SC_OLD-1b3b7a61acf8784af3167a35c0f06eaeb413af9c.tar.bz2
opensim-SC_OLD-1b3b7a61acf8784af3167a35c0f06eaeb413af9c.tar.xz
minor: Add comment as to why we are pulcking plain old ints out of the LSL_List when converting values from LSL for modInvoke()
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs
index a181dbe..8f34833 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs
@@ -359,6 +359,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
359 result[i] = (string)(LSL_String)plist[i]; 359 result[i] = (string)(LSL_String)plist[i];
360 else if (plist[i] is LSL_Integer) 360 else if (plist[i] is LSL_Integer)
361 result[i] = (int)(LSL_Integer)plist[i]; 361 result[i] = (int)(LSL_Integer)plist[i];
362 // The int check exists because of the many plain old int script constants in ScriptBase which
363 // are not LSL_Integers.
362 else if (plist[i] is int) 364 else if (plist[i] is int)
363 result[i] = plist[i]; 365 result[i] = plist[i];
364 else if (plist[i] is LSL_Float) 366 else if (plist[i] is LSL_Float)