aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 28a512b..6324f1a 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -3122,7 +3122,7 @@ namespace OpenSim.Region.ScriptEngine.Common
3122 3122
3123 } 3123 }
3124 3124
3125 double angle = 2 * Math.Acos(rot.s); 3125 // double angle = 2 * Math.Acos(rot.s);
3126 double s = Math.Sqrt(1 - rot.s * rot.s); 3126 double s = Math.Sqrt(1 - rot.s * rot.s);
3127 if (s < 0.001) 3127 if (s < 0.001)
3128 { 3128 {
@@ -3960,7 +3960,7 @@ namespace OpenSim.Region.ScriptEngine.Common
3960 { 3960 {
3961 int index = str.IndexOf(delimiters[i].ToString()); 3961 int index = str.IndexOf(delimiters[i].ToString());
3962 bool found = index != -1; 3962 bool found = index != -1;
3963 if (found && String.Empty != delimiters[i]) 3963 if (found && String.Empty != (string)delimiters[i])
3964 { 3964 {
3965 if ((cindex > index) || (cindex == -1)) 3965 if ((cindex > index) || (cindex == -1))
3966 { 3966 {
@@ -4049,7 +4049,7 @@ namespace OpenSim.Region.ScriptEngine.Common
4049 4049
4050 private String[] GetNotecardLines(string name) 4050 private String[] GetNotecardLines(string name)
4051 { 4051 {
4052 bool found = false; 4052 // bool found = false;
4053 int notecardIndex = 0; 4053 int notecardIndex = 0;
4054 String[] notecardLines = { "0" }; 4054 String[] notecardLines = { "0" };
4055 notecardLines[0] = String.Empty; 4055 notecardLines[0] = String.Empty;