aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authoridb2009-03-07 10:37:15 +0000
committeridb2009-03-07 10:37:15 +0000
commit1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e (patch)
treea1cd27894e33de9a57aabcfabef6631ea5fea285 /OpenSim/Region/ScriptEngine
parent* Making the minimum ground offset for flying a configurable offset in the Op... (diff)
downloadopensim-SC_OLD-1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e.zip
opensim-SC_OLD-1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e.tar.gz
opensim-SC_OLD-1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e.tar.bz2
opensim-SC_OLD-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.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 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;