aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authorJeff Ames2008-08-12 00:08:41 +0000
committerJeff Ames2008-08-12 00:08:41 +0000
commitf894f5d87b7f267e56436e687d0285f890a15b60 (patch)
tree8595e411bb0838fa339f3a16cc6a67ad966395c5 /OpenSim/Region/ScriptEngine/Common
parentPatch #9163 - Refactor initial packet sending out of InnerScene into (diff)
downloadopensim-SC_OLD-f894f5d87b7f267e56436e687d0285f890a15b60.zip
opensim-SC_OLD-f894f5d87b7f267e56436e687d0285f890a15b60.tar.gz
opensim-SC_OLD-f894f5d87b7f267e56436e687d0285f890a15b60.tar.bz2
opensim-SC_OLD-f894f5d87b7f267e56436e687d0285f890a15b60.tar.xz
Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 48fd7f1..440540e 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -3214,7 +3214,7 @@ namespace OpenSim.Region.ScriptEngine.Common
3214 { 3214 {
3215 m_host.AddScriptLPS(1); 3215 m_host.AddScriptLPS(1);
3216 SceneObjectPart targ = World.GetSceneObjectPart(target); 3216 SceneObjectPart targ = World.GetSceneObjectPart(target);
3217 if( targ == null ) 3217 if (targ == null)
3218 return; 3218 return;
3219 targ.ApplyImpulse(new LLVector3((float)impulse.x, (float)impulse.y, (float)impulse.z), local != 0); 3219 targ.ApplyImpulse(new LLVector3((float)impulse.x, (float)impulse.y, (float)impulse.z), local != 0);
3220 } 3220 }
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
index 43905a7..dc97174 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs
@@ -321,7 +321,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
321 { 321 {
322 // ...if it is there. With mono --debug OpenSim.exe, 322 // ...if it is there. With mono --debug OpenSim.exe,
323 // you'll get the error in the format filename:linenumber 323 // you'll get the error in the format filename:linenumber
324 if(colon + 6 < t.Length && t.Substring(colon + 1, 5).Equals("line ")) colon += 6; 324 if (colon + 6 < t.Length && t.Substring(colon + 1, 5).Equals("line ")) colon += 6;
325 else ++colon; // else only skip the colon 325 else ++colon; // else only skip the colon
326 line = " at line " + Convert.ToInt32(t.Substring(colon)).ToString(); 326 line = " at line " + Convert.ToInt32(t.Substring(colon)).ToString();
327 } 327 }