diff options
Diffstat (limited to 'OpenSim')
-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 759c00a..0bdf664 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1919,7 +1919,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1919 | protected void SetPos(SceneObjectPart part, LSL_Vector targetPos) | 1919 | protected void SetPos(SceneObjectPart part, LSL_Vector targetPos) |
1920 | { | 1920 | { |
1921 | // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) | 1921 | // Capped movemment if distance > 10m (http://wiki.secondlife.com/wiki/LlSetPos) |
1922 | LSL_Vector currentPos = GetPartLocalPos((part); | 1922 | LSL_Vector currentPos = GetPartLocalPos(part); |
1923 | 1923 | ||
1924 | float ground = World.GetGroundHeight((float)targetPos.x, (float)targetPos.y); | 1924 | float ground = World.GetGroundHeight((float)targetPos.x, (float)targetPos.y); |
1925 | bool disable_underground_movement = m_ScriptEngine.Config.GetBoolean("DisableUndergroundMovement", true); | 1925 | bool disable_underground_movement = m_ScriptEngine.Config.GetBoolean("DisableUndergroundMovement", true); |