diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 64334f1..babb759 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -1453,25 +1453,25 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1453 | return new LSLInteger(i1.value / i2); | 1453 | return new LSLInteger(i1.value / i2); |
1454 | } | 1454 | } |
1455 | 1455 | ||
1456 | static public LSLFloat operator +(LSLInteger i1, double f) | 1456 | // static public LSLFloat operator +(LSLInteger i1, double f) |
1457 | { | 1457 | // { |
1458 | return new LSLFloat((double)i1.value + f); | 1458 | // return new LSLFloat((double)i1.value + f); |
1459 | } | 1459 | // } |
1460 | 1460 | // | |
1461 | static public LSLFloat operator -(LSLInteger i1, double f) | 1461 | // static public LSLFloat operator -(LSLInteger i1, double f) |
1462 | { | 1462 | // { |
1463 | return new LSLFloat((double)i1.value - f); | 1463 | // return new LSLFloat((double)i1.value - f); |
1464 | } | 1464 | // } |
1465 | 1465 | // | |
1466 | static public LSLFloat operator *(LSLInteger i1, double f) | 1466 | // static public LSLFloat operator *(LSLInteger i1, double f) |
1467 | { | 1467 | // { |
1468 | return new LSLFloat((double)i1.value * f); | 1468 | // return new LSLFloat((double)i1.value * f); |
1469 | } | 1469 | // } |
1470 | 1470 | // | |
1471 | static public LSLFloat operator /(LSLInteger i1, double f) | 1471 | // static public LSLFloat operator /(LSLInteger i1, double f) |
1472 | { | 1472 | // { |
1473 | return new LSLFloat((double)i1.value / f); | 1473 | // return new LSLFloat((double)i1.value / f); |
1474 | } | 1474 | // } |
1475 | 1475 | ||
1476 | static public LSLInteger operator -(LSLInteger i) | 1476 | static public LSLInteger operator -(LSLInteger i) |
1477 | { | 1477 | { |