aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
authorMelanie2012-01-06 22:33:51 +0100
committerMelanie2012-01-06 23:08:18 +0000
commit679d155a397567765d142e793a68679957866a6f (patch)
tree83773212cd4cc04312e3639966e002158050d96d /OpenSim/Region/ScriptEngine/Shared/Api/Implementation
parentAdd osNpcPlayAnimation and osNpcStopAnimation which respect ownership as well (diff)
downloadopensim-SC-679d155a397567765d142e793a68679957866a6f.zip
opensim-SC-679d155a397567765d142e793a68679957866a6f.tar.gz
opensim-SC-679d155a397567765d142e793a68679957866a6f.tar.bz2
opensim-SC-679d155a397567765d142e793a68679957866a6f.tar.xz
Fix some syntax issues
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index efb77ae..b3477ac 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -2350,7 +2350,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2350 if (module != null) 2350 if (module != null)
2351 { 2351 {
2352 UUID npcID = new UUID(npc.m_string); 2352 UUID npcID = new UUID(npc.m_string);
2353 if (module.IsNPC(npcID)) 2353 if (module.IsNPC(npcID, m_host.ParentGroup.Scene))
2354 { 2354 {
2355 UUID ownerID = module.GetOwner(npcID); 2355 UUID ownerID = module.GetOwner(npcID);
2356 if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) 2356 if (ownerID == UUID.Zero || ownerID == m_host.OwnerID)
@@ -2367,7 +2367,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2367 if (module != null) 2367 if (module != null)
2368 { 2368 {
2369 UUID npcID = new UUID(npc.m_string); 2369 UUID npcID = new UUID(npc.m_string);
2370 if (module.IsNPC(npcID)) 2370 if (module.IsNPC(npcID, m_host.ParentGroup.Scene))
2371 { 2371 {
2372 UUID ownerID = module.GetOwner(npcID); 2372 UUID ownerID = module.GetOwner(npcID);
2373 if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) 2373 if (ownerID == UUID.Zero || ownerID == m_host.OwnerID)