aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-09 01:17:35 +0100
committerJustin Clark-Casey (justincc)2011-07-09 01:17:35 +0100
commit52c3671aa07c5d4c91908a8e1b15b76e96cc49c0 (patch)
treee48879d75d2314140e4723ddf3759061ab7a517d
parentlsGetWindlightScene() returns raw int value, which makes unable to compare to... (diff)
downloadopensim-SC-52c3671aa07c5d4c91908a8e1b15b76e96cc49c0.zip
opensim-SC-52c3671aa07c5d4c91908a8e1b15b76e96cc49c0.tar.gz
opensim-SC-52c3671aa07c5d4c91908a8e1b15b76e96cc49c0.tar.bz2
opensim-SC-52c3671aa07c5d4c91908a8e1b15b76e96cc49c0.tar.xz
fix formatting issues from last patch
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 0839ab4..e0a4014 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -1741,13 +1741,18 @@ namespace OpenSim.Region.ScriptEngine.Shared
1741 1741
1742 public override bool Equals(Object o) 1742 public override bool Equals(Object o)
1743 { 1743 {
1744 if (!(o is LSLInteger)) { 1744 if (!(o is LSLInteger))
1745 if(o is int) { 1745 {
1746 if (o is int)
1747 {
1746 return value == (int)o; 1748 return value == (int)o;
1747 } else { 1749 }
1750 else
1751 {
1748 return false; 1752 return false;
1749 } 1753 }
1750 } 1754 }
1755
1751 return value == ((LSLInteger)o).value; 1756 return value == ((LSLInteger)o).value;
1752 } 1757 }
1753 1758