diff options
author | idb | 2009-03-07 10:37:15 +0000 |
---|---|---|
committer | idb | 2009-03-07 10:37:15 +0000 |
commit | 1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e (patch) | |
tree | a1cd27894e33de9a57aabcfabef6631ea5fea285 /OpenSim/Region/ScriptEngine | |
parent | * Making the minimum ground offset for flying a configurable offset in the Op... (diff) | |
download | opensim-SC-1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e.zip opensim-SC-1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e.tar.gz opensim-SC-1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e.tar.bz2 opensim-SC-1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e.tar.xz |
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')
-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; |