diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index ffb5a9332a..05f254ae96 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs @@ -1692,6 +1692,12 @@ namespace OpenSim.Region.ScriptEngine.Shared return ret; } + static public LSLInteger operator %(LSLInteger i1, LSLInteger i2) + { + int ret = i1.value % i2.value; + return ret; + } + static public LSLInteger operator |(LSLInteger i1, LSLInteger i2) { int ret = i1.value | i2.value;