aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorCharles Krinke2008-10-27 00:59:26 +0000
committerCharles Krinke2008-10-27 00:59:26 +0000
commita59ca765feed9665b4b78bebfc5573a77a7c9504 (patch)
tree18ab2ce373c284e0cf3d3673b9937930f8c9e819 /OpenSim/Region/ScriptEngine/Shared
parentThank you kindly, Idb for a patch that solves: (diff)
downloadopensim-SC-a59ca765feed9665b4b78bebfc5573a77a7c9504.zip
opensim-SC-a59ca765feed9665b4b78bebfc5573a77a7c9504.tar.gz
opensim-SC-a59ca765feed9665b4b78bebfc5573a77a7c9504.tar.bz2
opensim-SC-a59ca765feed9665b4b78bebfc5573a77a7c9504.tar.xz
Thank you kindly, Idb for a patch that solves:
LSL - Bitwise operators OR and XOR do not work on integer variables
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index f3ad288..f3a2997 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -1614,6 +1614,12 @@ namespace OpenSim.Region.ScriptEngine.Shared
1614 return ret; 1614 return ret;
1615 } 1615 }
1616 1616
1617 static public LSLInteger operator ^(LSLInteger i1, LSLInteger i2)
1618 {
1619 int ret = i1.value ^ i2.value;
1620 return ret;
1621 }
1622
1617 public static LSLInteger operator ++(LSLInteger i) 1623 public static LSLInteger operator ++(LSLInteger i)
1618 { 1624 {
1619 i.value++; 1625 i.value++;