* Fix not tests in LSL which require implicit casting (see mantis for an example)
This commit is contained in:
Justin Clarke Casey
2008-11-01 22:18:26 +00:00
parent 38e8853e57
commit e3864de621

View File

@@ -1610,6 +1610,11 @@ namespace OpenSim.Region.ScriptEngine.Shared
return new LSLInteger(-i.value);
}
static public LSLInteger operator ~(LSLInteger i)
{
return new LSLInteger(~i.value);
}
public override bool Equals(Object o)
{
if (!(o is LSLInteger))