aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorJeff Ames2009-02-13 02:52:08 +0000
committerJeff Ames2009-02-13 02:52:08 +0000
commit163c1026d15a8f70c649d8d5880cf9fb4abb9a65 (patch)
tree8654590bb07c88c52f85c319762e4270e130e302 /OpenSim/Region/ScriptEngine/Shared/Api
parentAdd copyright headers. Minor formatting cleanup. Fix some compiler warnings... (diff)
downloadopensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.zip
opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.gz
opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.bz2
opensim-SC_OLD-163c1026d15a8f70c649d8d5880cf9fb4abb9a65.tar.xz
Fix some compiler warnings. Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 69ac517..cd17399 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -361,12 +361,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
361 361
362 public LSL_Integer llAbs(int i) 362 public LSL_Integer llAbs(int i)
363 { 363 {
364 // changed to replicate LSL behaviour whereby minimum int value is returned untouched. 364 // changed to replicate LSL behaviour whereby minimum int value is returned untouched.
365 m_host.AddScriptLPS(1); 365 m_host.AddScriptLPS(1);
366 if(i == Int32.MinValue) 366 if (i == Int32.MinValue)
367 return i; 367 return i;
368 else 368 else
369 return (int)Math.Abs(i); 369 return (int)Math.Abs(i);
370 } 370 }
371 371
372 public LSL_Float llFabs(double f) 372 public LSL_Float llFabs(double f)