diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 2d79901c1d..14e69012b1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs @@ -1621,6 +1621,16 @@ namespace OpenSim.Region.ScriptEngine.Shared return i; } + public static LSLInteger operator << (LSLInteger i, int s) + { + return i.value << s; + } + + public static LSLInteger operator >> (LSLInteger i, int s) + { + return i.value >> s; + } + static public implicit operator System.Double(LSLInteger i) { return (double)i.value;