diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index ba1a5f1..32e46ec 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1929,7 +1929,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1929 | protected void SetPos(SceneObjectPart part, LSL_Vector targetPos) | 1929 | protected void SetPos(SceneObjectPart part, LSL_Vector targetPos) |
1930 | { | 1930 | { |
1931 | // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) | 1931 | // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) |
1932 | LSL_Vector currentPos = GetPartLocalPos((part); | 1932 | LSL_Vector currentPos = GetPartLocalPos(part); |
1933 | 1933 | ||
1934 | float ground = World.GetGroundHeight((float)targetPos.x, (float)targetPos.y); | 1934 | float ground = World.GetGroundHeight((float)targetPos.x, (float)targetPos.y); |
1935 | bool disable_underground_movement = m_ScriptEngine.Config.GetBoolean("DisableUndergroundMovement", true); | 1935 | bool disable_underground_movement = m_ScriptEngine.Config.GetBoolean("DisableUndergroundMovement", true); |