aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorMakopoppo2011-07-07 23:36:41 +0900
committerJustin Clark-Casey (justincc)2011-07-09 01:08:13 +0100
commit04f8d0e45dae6b773e49532e4cd31ee290f9a677 (patch)
treee4ed02e92debe928f54d9bf3969ccc55e379c054 /OpenSim/Region/ScriptEngine
parentInstance-types-in-list fix for LSL/OSSL functions. This will fix llListFindLi... (diff)
downloadopensim-SC_OLD-04f8d0e45dae6b773e49532e4cd31ee290f9a677.zip
opensim-SC_OLD-04f8d0e45dae6b773e49532e4cd31ee290f9a677.tar.gz
opensim-SC_OLD-04f8d0e45dae6b773e49532e4cd31ee290f9a677.tar.bz2
opensim-SC_OLD-04f8d0e45dae6b773e49532e4cd31ee290f9a677.tar.xz
Made some LSL_Constant or LS_Constant raw int values
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 461b473..0839ab4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -1741,8 +1741,13 @@ namespace OpenSim.Region.ScriptEngine.Shared
1741 1741
1742 public override bool Equals(Object o) 1742 public override bool Equals(Object o)
1743 { 1743 {
1744 if (!(o is LSLInteger)) 1744 if (!(o is LSLInteger)) {
1745 return false; 1745 if(o is int) {
1746 return value == (int)o;
1747 } else {
1748 return false;
1749 }
1750 }
1746 return value == ((LSLInteger)o).value; 1751 return value == ((LSLInteger)o).value;
1747 } 1752 }
1748 1753