diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 1cb052d..29d658f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2242,7 +2242,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2242 | CheckThreatLevel(ThreatLevel.High, "osNpcCreate"); | 2242 | CheckThreatLevel(ThreatLevel.High, "osNpcCreate"); |
2243 | m_host.AddScriptLPS(1); | 2243 | m_host.AddScriptLPS(1); |
2244 | 2244 | ||
2245 | return NpcCreate(firstname, lastname, position, notecard, false, true); | 2245 | return NpcCreate(firstname, lastname, position, notecard, false, false); |
2246 | } | 2246 | } |
2247 | 2247 | ||
2248 | public LSL_Key osNpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, int options) | 2248 | public LSL_Key osNpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, int options) |
@@ -2252,8 +2252,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2252 | 2252 | ||
2253 | return NpcCreate( | 2253 | return NpcCreate( |
2254 | firstname, lastname, position, notecard, | 2254 | firstname, lastname, position, notecard, |
2255 | (options & ScriptBaseClass.OS_NPC_NOT_OWNED) == 0, | 2255 | (options & ScriptBaseClass.OS_NPC_NOT_OWNED) == 0); |
2256 | (options & ScriptBaseClass.OS_NPC_SENSE_AS_AGENT) == 0); | 2256 | // (options & ScriptBaseClass.OS_NPC_SENSE_AS_AGENT) == 0); |
2257 | } | 2257 | } |
2258 | 2258 | ||
2259 | private LSL_Key NpcCreate( | 2259 | private LSL_Key NpcCreate( |
@@ -2945,4 +2945,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2945 | return date.ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ"); | 2945 | return date.ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ"); |
2946 | } | 2946 | } |
2947 | } | 2947 | } |
2948 | } \ No newline at end of file | 2948 | } |