Thank you kindly, Idb for a patch that solves:

LSL - Bitwise operators OR and XOR do not work 
on integer variables
0.6.0-stable
Charles Krinke 2008-10-27 00:59:26 +00:00
parent 8a6042f063
commit a59ca765fe
1 changed files with 6 additions and 0 deletions

View File

@ -1614,6 +1614,12 @@ namespace OpenSim.Region.ScriptEngine.Shared
return ret;
}
static public LSLInteger operator ^(LSLInteger i1, LSLInteger i2)
{
int ret = i1.value ^ i2.value;
return ret;
}
public static LSLInteger operator ++(LSLInteger i)
{
i.value++;