diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index 09ab5d4..c904b1d 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | |||
@@ -1249,6 +1249,18 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1249 | return new LSLInteger(d); | 1249 | return new LSLInteger(d); |
1250 | } | 1250 | } |
1251 | 1251 | ||
1252 | static public bool operator ==(LSLInteger i1, LSLInteger i2) | ||
1253 | { | ||
1254 | bool ret = i1.value == i2.value; | ||
1255 | return ret; | ||
1256 | } | ||
1257 | |||
1258 | static public bool operator !=(LSLInteger i1, LSLInteger i2) | ||
1259 | { | ||
1260 | bool ret = i1.value != i2.value; | ||
1261 | return ret; | ||
1262 | } | ||
1263 | |||
1252 | static public LSLInteger operator &(LSLInteger i1, LSLInteger i2) | 1264 | static public LSLInteger operator &(LSLInteger i1, LSLInteger i2) |
1253 | { | 1265 | { |
1254 | int ret = i1.value & i2.value; | 1266 | int ret = i1.value & i2.value; |