From 11477db59ebf8b97b6246ca43349bed5d6b900b8 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 12 Oct 2008 01:00:26 +0000 Subject: Fix LSL bitwise Or --- OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 14e6901..f3ad288 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs @@ -1608,6 +1608,12 @@ namespace OpenSim.Region.ScriptEngine.Shared return ret; } + static public LSLInteger operator |(LSLInteger i1, LSLInteger i2) + { + int ret = i1.value | i2.value; + return ret; + } + public static LSLInteger operator ++(LSLInteger i) { i.value++; -- cgit v1.1