diff options
Correct casts so that the target id in the at_target event matches the original target id.
Fixes Mantis #2861
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 5 |
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 e5e097b..93a6300 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -1469,6 +1469,11 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1469 | value = i; | 1469 | value = i; |
1470 | } | 1470 | } |
1471 | 1471 | ||
1472 | public LSLInteger(uint i) | ||
1473 | { | ||
1474 | value = (int)i; | ||
1475 | } | ||
1476 | |||
1472 | public LSLInteger(double d) | 1477 | public LSLInteger(double d) |
1473 | { | 1478 | { |
1474 | value = (int)d; | 1479 | value = (int)d; |