diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 07473e5..2e28907 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2259,7 +2259,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2259 | } | 2259 | } |
2260 | } | 2260 | } |
2261 | 2261 | ||
2262 | public void osNpcMoveToTarget(LSL_Key npc, LSL_Vector position, int options) | 2262 | public void osNpcMoveToTarget(LSL_Key npc, LSL_Vector target, int options) |
2263 | { | 2263 | { |
2264 | CheckThreatLevel(ThreatLevel.High, "osNpcMoveToTarget"); | 2264 | CheckThreatLevel(ThreatLevel.High, "osNpcMoveToTarget"); |
2265 | 2265 | ||
@@ -2270,7 +2270,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2270 | if (!UUID.TryParse(npc.m_string, out npcId)) | 2270 | if (!UUID.TryParse(npc.m_string, out npcId)) |
2271 | return; | 2271 | return; |
2272 | 2272 | ||
2273 | Vector3 pos = new Vector3((float)position.x, (float)position.y, (float)position.z); | 2273 | Vector3 pos = new Vector3((float)target.x, (float)target.y, (float)target.z); |
2274 | module.MoveToTarget( | 2274 | module.MoveToTarget( |
2275 | new UUID(npc.m_string), | 2275 | new UUID(npc.m_string), |
2276 | World, | 2276 | World, |