aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs5
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 f71d584..0cddf36 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -1309,6 +1309,11 @@ namespace OpenSim.Region.ScriptEngine.Shared
1309 return new LSLInteger(u); 1309 return new LSLInteger(u);
1310 } 1310 }
1311 1311
1312 static public implicit operator LSLInteger(double d)
1313 {
1314 return new LSLInteger(d);
1315 }
1316
1312 static public bool operator ==(LSLInteger i1, LSLInteger i2) 1317 static public bool operator ==(LSLInteger i1, LSLInteger i2)
1313 { 1318 {
1314 bool ret = i1.value == i2.value; 1319 bool ret = i1.value == i2.value;