Thank you kindly, Idb for a patch that solves:
LSL - Bitwise operators OR and XOR do not work on integer variables0.6.0-stable
parent
8a6042f063
commit
a59ca765fe
|
@ -1614,6 +1614,12 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static public LSLInteger operator ^(LSLInteger i1, LSLInteger i2)
|
||||||
|
{
|
||||||
|
int ret = i1.value ^ i2.value;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public static LSLInteger operator ++(LSLInteger i)
|
public static LSLInteger operator ++(LSLInteger i)
|
||||||
{
|
{
|
||||||
i.value++;
|
i.value++;
|
||||||
|
|
Loading…
Reference in New Issue