diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 7081e5cf7b..ffb5a9332a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs @@ -1704,6 +1704,11 @@ namespace OpenSim.Region.ScriptEngine.Shared return ret; } + static public LSLInteger operator !(LSLInteger i1) + { + return i1.value == 0 ? 1 : 0; + } + public static LSLInteger operator ++(LSLInteger i) { i.value++;