Correct casts so that the target id in the at_target event matches the original target id.

Fixes Mantis #2861
This commit is contained in:
idb
2009-03-07 10:37:15 +00:00
parent 5a49c772ca
commit 1fd57b39df
2 changed files with 10 additions and 8 deletions

View File

@@ -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;