From 1fd57b39dfa23f1cc9fc05fc9b38f28927ee579e Mon Sep 17 00:00:00 2001 From: idb Date: Sat, 7 Mar 2009 10:37:15 +0000 Subject: Correct casts so that the target id in the at_target event matches the original target id. Fixes Mantis #2861 --- OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/Shared') 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 value = i; } + public LSLInteger(uint i) + { + value = (int)i; + } + public LSLInteger(double d) { value = (int)d; -- cgit v1.1