diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index 5607706..bb1fe2f 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | |||
@@ -1285,7 +1285,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1285 | { | 1285 | { |
1286 | return new LSLInteger(u); | 1286 | return new LSLInteger(u); |
1287 | } | 1287 | } |
1288 | 1288 | ||
1289 | static public explicit operator LSLInteger(double d) | 1289 | static public explicit operator LSLInteger(double d) |
1290 | { | 1290 | { |
1291 | return new LSLInteger(d); | 1291 | return new LSLInteger(d); |
@@ -1322,7 +1322,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1322 | { | 1322 | { |
1323 | return new LSLInteger(i1.value / i2); | 1323 | return new LSLInteger(i1.value / i2); |
1324 | } | 1324 | } |
1325 | 1325 | ||
1326 | static public LSLFloat operator +(LSLInteger i1, double f) | 1326 | static public LSLFloat operator +(LSLInteger i1, double f) |
1327 | { | 1327 | { |
1328 | return new LSLFloat((double)i1.value + f); | 1328 | return new LSLFloat((double)i1.value + f); |
@@ -1510,7 +1510,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1510 | { | 1510 | { |
1511 | return new LSLFloat(f.value / (double)i); | 1511 | return new LSLFloat(f.value / (double)i); |
1512 | } | 1512 | } |
1513 | 1513 | ||
1514 | static public LSLFloat operator +(LSLFloat lhs, LSLFloat rhs) | 1514 | static public LSLFloat operator +(LSLFloat lhs, LSLFloat rhs) |
1515 | { | 1515 | { |
1516 | return new LSLFloat(lhs.value + rhs.value); | 1516 | return new LSLFloat(lhs.value + rhs.value); |