diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 6 |
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 ffb5a93..05f254a 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 | |||
1692 | return ret; | 1692 | return ret; |
1693 | } | 1693 | } |
1694 | 1694 | ||
1695 | static public LSLInteger operator %(LSLInteger i1, LSLInteger i2) | ||
1696 | { | ||
1697 | int ret = i1.value % i2.value; | ||
1698 | return ret; | ||
1699 | } | ||
1700 | |||
1695 | static public LSLInteger operator |(LSLInteger i1, LSLInteger i2) | 1701 | static public LSLInteger operator |(LSLInteger i1, LSLInteger i2) |
1696 | { | 1702 | { |
1697 | int ret = i1.value | i2.value; | 1703 | int ret = i1.value | i2.value; |