* Fix not tests in LSL which require implicit casting (see mantis for an example)
0.6.0-stable
Justin Clarke Casey 2008-11-01 22:18:26 +00:00
parent 38e8853e57
commit e3864de621
1 changed files with 5 additions and 0 deletions

View File

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