fix formatting issues from last patch

bulletsim
Justin Clark-Casey (justincc) 2011-07-09 01:17:35 +01:00
parent b983f38e2a
commit 52c3671aa0
1 changed files with 8 additions and 3 deletions

View File

@ -1741,13 +1741,18 @@ namespace OpenSim.Region.ScriptEngine.Shared
public override bool Equals(Object o) public override bool Equals(Object o)
{ {
if (!(o is LSLInteger)) { if (!(o is LSLInteger))
if(o is int) { {
if (o is int)
{
return value == (int)o; return value == (int)o;
} else { }
else
{
return false; return false;
} }
} }
return value == ((LSLInteger)o).value; return value == ((LSLInteger)o).value;
} }