diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 36320d2..f3adb22 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -1610,6 +1610,11 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1610 | return new LSLInteger(-i.value); | 1610 | return new LSLInteger(-i.value); |
1611 | } | 1611 | } |
1612 | 1612 | ||
1613 | static public LSLInteger operator ~(LSLInteger i) | ||
1614 | { | ||
1615 | return new LSLInteger(~i.value); | ||
1616 | } | ||
1617 | |||
1613 | public override bool Equals(Object o) | 1618 | public override bool Equals(Object o) |
1614 | { | 1619 | { |
1615 | if (!(o is LSLInteger)) | 1620 | if (!(o is LSLInteger)) |