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.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 15188c5..a9af260 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1862,14 +1862,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1862 1862
1863 if (part.ParentGroup == null) 1863 if (part.ParentGroup == null)
1864 { 1864 {
1865 if ((targetPos.z < ground) && disable_underground_movement) 1865 if ((targetPos.z < ground) && disable_underground_movement)
1866 targetPos.z = ground; 1866 targetPos.z = ground;
1867 part.UpdateOffSet(new Vector3((float)targetPos.x, (float)targetPos.y, (float)targetPos.z)); 1867 part.UpdateOffSet(new Vector3((float)targetPos.x, (float)targetPos.y, (float)targetPos.z));
1868 } 1868 }
1869 else if (part.ParentGroup.RootPart == part) 1869 else if (part.ParentGroup.RootPart == part)
1870 { 1870 {
1871 if ((targetPos.z < ground) && disable_underground_movement) 1871 if ((targetPos.z < ground) && disable_underground_movement)
1872 targetPos.z = ground; 1872 targetPos.z = ground;
1873 SceneObjectGroup parent = part.ParentGroup; 1873 SceneObjectGroup parent = part.ParentGroup;
1874 parent.UpdateGroupPosition(new Vector3((float)targetPos.x, (float)targetPos.y, (float)targetPos.z)); 1874 parent.UpdateGroupPosition(new Vector3((float)targetPos.x, (float)targetPos.y, (float)targetPos.z));
1875 } 1875 }