diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 5 |
1 files changed, 3 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 60568a8..0688916 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2479,7 +2479,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2479 | return; | 2479 | return; |
2480 | 2480 | ||
2481 | Vector3 pos = new Vector3((float) position.x, (float) position.y, (float) position.z); | 2481 | Vector3 pos = new Vector3((float) position.x, (float) position.y, (float) position.z); |
2482 | module.MoveToTarget(npcId, World, pos, false, true); | 2482 | module.MoveToTarget(npcId, World, pos, false, true, false); |
2483 | } | 2483 | } |
2484 | } | 2484 | } |
2485 | 2485 | ||
@@ -2504,7 +2504,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2504 | World, | 2504 | World, |
2505 | pos, | 2505 | pos, |
2506 | (options & ScriptBaseClass.OS_NPC_NO_FLY) != 0, | 2506 | (options & ScriptBaseClass.OS_NPC_NO_FLY) != 0, |
2507 | (options & ScriptBaseClass.OS_NPC_LAND_AT_TARGET) != 0); | 2507 | (options & ScriptBaseClass.OS_NPC_LAND_AT_TARGET) != 0, |
2508 | (options & ScriptBaseClass.OS_NPC_RUNNING) != 0); | ||
2508 | } | 2509 | } |
2509 | } | 2510 | } |
2510 | 2511 | ||