diff options
author | Justin Clarke Casey | 2008-11-01 22:18:26 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-01 22:18:26 +0000 |
commit | e3864de621a595a5710236d753de044c9152b19b (patch) | |
tree | 2955d953a62ad01f4d5209e241942fb6a10dd13b /OpenSim | |
parent | Megapatch that fixes/adds: friend offer/deny/accept, friendship termination, (diff) | |
download | opensim-SC-e3864de621a595a5710236d753de044c9152b19b.zip opensim-SC-e3864de621a595a5710236d753de044c9152b19b.tar.gz opensim-SC-e3864de621a595a5710236d753de044c9152b19b.tar.bz2 opensim-SC-e3864de621a595a5710236d753de044c9152b19b.tar.xz |
* Apply http://opensimulator.org/mantis/view.php?id=2521
* Fix not tests in LSL which require implicit casting (see mantis for an example)
Diffstat (limited to '')
-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)) |