mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
fly and no fly constants for osNpcMoveToTarget()
This commit is contained in:
@@ -2220,7 +2220,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
INPCModule module = World.RequestModuleInterface<INPCModule>();
|
||||
if (module != null)
|
||||
{
|
||||
Vector3 pos = new Vector3((float) position.x, (float) position.y, (float) position.z);
|
||||
Vector3 pos = new Vector3((float)position.x, (float)position.y, (float)position.z);
|
||||
module.MoveToTarget(new UUID(npc.m_string), World, pos, noFly != 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user