Fix LSL bitwise Or

0.6.0-stable
Melanie Thielker 2008-10-12 01:00:26 +00:00
parent dcdfde834f
commit 11477db59e
1 changed files with 6 additions and 0 deletions

View File

@ -1608,6 +1608,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++;