mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Made some LSL_Constant or LS_Constant raw int values
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
e7abf834d1
commit
04f8d0e45d
@@ -1741,8 +1741,13 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
||||
|
||||
public override bool Equals(Object o)
|
||||
{
|
||||
if (!(o is LSLInteger))
|
||||
return false;
|
||||
if (!(o is LSLInteger)) {
|
||||
if(o is int) {
|
||||
return value == (int)o;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return value == ((LSLInteger)o).value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user