aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
1 files changed, 1 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 2b6a3fd..2654b5a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2082,8 +2082,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2082 public LSL_Vector llGetPos() 2082 public LSL_Vector llGetPos()
2083 { 2083 {
2084 m_host.AddScriptLPS(1); 2084 m_host.AddScriptLPS(1);
2085 Vector3 pos = m_host.GetWorldPosition(); 2085 return m_host.GetWorldPosition();
2086 return new LSL_Vector(pos.X, pos.Y, pos.Z);
2087 } 2086 }
2088 2087
2089 public LSL_Vector llGetLocalPos() 2088 public LSL_Vector llGetLocalPos()