fly and no fly constants for osNpcMoveToTarget()

This commit is contained in:
Justin Clark-Casey (justincc)
2011-08-10 22:34:42 +01:00
parent 5d6c9644fa
commit fb92678b83
2 changed files with 5 additions and 1 deletions

View File

@@ -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);
}
}