diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 4 |
1 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 44033c1..76b88bc 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -960,8 +960,8 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
960 | public double llGround(LSL_Types.Vector3 offset) | 960 | public double llGround(LSL_Types.Vector3 offset) |
961 | { | 961 | { |
962 | m_host.AddScriptLPS(1); | 962 | m_host.AddScriptLPS(1); |
963 | int x = (int)(m_host.AbsolutePosition.X + offset.x); | 963 | int x = (int)(m_host.OffsetPosition.X + offset.x); |
964 | int y = (int)(m_host.AbsolutePosition.Y + offset.y); | 964 | int y = (int)(m_host.OffsetPosition.Y + offset.y); |
965 | return World.GetLandHeight(x, y); | 965 | return World.GetLandHeight(x, y); |
966 | } | 966 | } |
967 | 967 | ||