aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-12 01:52:12 +0100
committerJustin Clark-Casey (justincc)2011-08-12 01:52:12 +0100
commit16ac5413ddb57ac347addebc82d425364a083637 (patch)
treed2e61cfbb772a25bd8816f3194a03cd9f0354354 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentrename osNpcStopMoveTo() to osNpcStopMoveToTarget() (diff)
downloadopensim-SC_OLD-16ac5413ddb57ac347addebc82d425364a083637.zip
opensim-SC_OLD-16ac5413ddb57ac347addebc82d425364a083637.tar.gz
opensim-SC_OLD-16ac5413ddb57ac347addebc82d425364a083637.tar.bz2
opensim-SC_OLD-16ac5413ddb57ac347addebc82d425364a083637.tar.xz
rename position parameter in osNpcMoveToTarget to target
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs4
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,