aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index a4fd984..d5fc9a6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -769,8 +769,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
769 public LSL_Types.LSLFloat llGround(LSL_Types.Vector3 offset) 769 public LSL_Types.LSLFloat llGround(LSL_Types.Vector3 offset)
770 { 770 {
771 m_host.AddScriptLPS(1); 771 m_host.AddScriptLPS(1);
772 int x = (int)(m_host.AbsolutePosition.X + offset.x); 772 int x = (int)(m_host.OffsetPosition.X + offset.x);
773 int y = (int)(m_host.AbsolutePosition.Y + offset.y); 773 int y = (int)(m_host.OffsetPosition.Y + offset.y);
774 return World.GetLandHeight(x, y); 774 return World.GetLandHeight(x, y);
775 } 775 }
776 776