Change threat level of osNpcStopMoveToTarget from Low to High to match other NPC functions, and change OSSL permissions name to osNpcStopMoveToTarget instead of osNpcStopMoveTo

Thanks to Oren Hurvitz for pointing out these mistakes.
0.7.4.1
Justin Clark-Casey (justincc) 2012-04-13 22:52:24 +01:00
parent 1ad3fdb40b
commit eced091689
1 changed files with 1 additions and 1 deletions

View File

@ -2514,7 +2514,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void osNpcStopMoveToTarget(LSL_Key npc) public void osNpcStopMoveToTarget(LSL_Key npc)
{ {
CheckThreatLevel(ThreatLevel.VeryLow, "osNpcStopMoveTo"); CheckThreatLevel(ThreatLevel.High, "osNpcStopMoveToTarget");
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
INPCModule module = World.RequestModuleInterface<INPCModule>(); INPCModule module = World.RequestModuleInterface<INPCModule>();