diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index b1583eb..c55e2ae 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2233,7 +2233,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2233 | CheckThreatLevel(ThreatLevel.High, "osNpcCreate"); | 2233 | CheckThreatLevel(ThreatLevel.High, "osNpcCreate"); |
2234 | m_host.AddScriptLPS(1); | 2234 | m_host.AddScriptLPS(1); |
2235 | 2235 | ||
2236 | return NpcCreate(firstname, lastname, position, notecard, false, true); | 2236 | return NpcCreate(firstname, lastname, position, notecard, false, false); |
2237 | } | 2237 | } |
2238 | 2238 | ||
2239 | public LSL_Key osNpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, int options) | 2239 | public LSL_Key osNpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, int options) |
@@ -2244,7 +2244,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2244 | return NpcCreate( | 2244 | return NpcCreate( |
2245 | firstname, lastname, position, notecard, | 2245 | firstname, lastname, position, notecard, |
2246 | (options & ScriptBaseClass.OS_NPC_NOT_OWNED) == 0, | 2246 | (options & ScriptBaseClass.OS_NPC_NOT_OWNED) == 0, |
2247 | (options & ScriptBaseClass.OS_NPC_SENSE_AS_AGENT) == 0); | 2247 | (options & ScriptBaseClass.OS_NPC_SENSE_AS_AGENT) != 0); |
2248 | } | 2248 | } |
2249 | 2249 | ||
2250 | private LSL_Key NpcCreate( | 2250 | private LSL_Key NpcCreate( |
@@ -2595,7 +2595,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2595 | UUID npcID = new UUID(npc.m_string); | 2595 | UUID npcID = new UUID(npc.m_string); |
2596 | 2596 | ||
2597 | if (module.CheckPermissions(npcID, m_host.OwnerID)) | 2597 | if (module.CheckPermissions(npcID, m_host.OwnerID)) |
2598 | AvatarPlayAnimation(npcID.ToString(), animation); | 2598 | AvatarStopAnimation(npcID.ToString(), animation); |
2599 | } | 2599 | } |
2600 | } | 2600 | } |
2601 | 2601 | ||