diff options
author | Justin Clark-Casey (justincc) | 2011-08-03 23:20:36 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-03 23:20:36 +0100 |
commit | 61d49d4f63eafa68d0b63877029da3475d977263 (patch) | |
tree | a1d6f6c51ac50a9b9920f4dcd74765e5ad70feee /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | extend move test to check avatar is moving in the right direction after setti... (diff) | |
download | opensim-SC-61d49d4f63eafa68d0b63877029da3475d977263.zip opensim-SC-61d49d4f63eafa68d0b63877029da3475d977263.tar.gz opensim-SC-61d49d4f63eafa68d0b63877029da3475d977263.tar.bz2 opensim-SC-61d49d4f63eafa68d0b63877029da3475d977263.tar.xz |
rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to INPCModule
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index b710229..8093502 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2110,7 +2110,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2110 | if (module != null) | 2110 | if (module != null) |
2111 | { | 2111 | { |
2112 | Vector3 pos = new Vector3((float) position.x, (float) position.y, (float) position.z); | 2112 | Vector3 pos = new Vector3((float) position.x, (float) position.y, (float) position.z); |
2113 | module.Autopilot(new UUID(npc.m_string), World, pos); | 2113 | module.MoveToTarget(new UUID(npc.m_string), World, pos); |
2114 | } | 2114 | } |
2115 | } | 2115 | } |
2116 | 2116 | ||