mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Thank you kindly, Idb for a patch that solves:
LSL - Bitwise operators OR and XOR do not work on integer variables
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user