diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 2d79901..14e6901 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 | |||
1621 | return i; | 1621 | return i; |
1622 | } | 1622 | } |
1623 | 1623 | ||
1624 | public static LSLInteger operator << (LSLInteger i, int s) | ||
1625 | { | ||
1626 | return i.value << s; | ||
1627 | } | ||
1628 | |||
1629 | public static LSLInteger operator >> (LSLInteger i, int s) | ||
1630 | { | ||
1631 | return i.value >> s; | ||
1632 | } | ||
1633 | |||
1624 | static public implicit operator System.Double(LSLInteger i) | 1634 | static public implicit operator System.Double(LSLInteger i) |
1625 | { | 1635 | { |
1626 | return (double)i.value; | 1636 | return (double)i.value; |