aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-24 22:12:48 +0000
committerMelanie Thielker2009-03-24 22:12:48 +0000
commitfb5f702e788b90d9c6f01e899aac2fbce0fe66a6 (patch)
tree24c3514f76b5bcfe02750ebd1461bdb09d55d0c9 /OpenSim/Region
parent* minor: remove load oar logging I accidentally left in a few commits ago (diff)
downloadopensim-SC_OLD-fb5f702e788b90d9c6f01e899aac2fbce0fe66a6.zip
opensim-SC_OLD-fb5f702e788b90d9c6f01e899aac2fbce0fe66a6.tar.gz
opensim-SC_OLD-fb5f702e788b90d9c6f01e899aac2fbce0fe66a6.tar.bz2
opensim-SC_OLD-fb5f702e788b90d9c6f01e899aac2fbce0fe66a6.tar.xz
Change llGetOwnerKey to use another overload of GetSceneObject.
Fixes Mantis #3326
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index e6cc798..f47b3eb 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4405,7 +4405,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4405 { 4405 {
4406 try 4406 try
4407 { 4407 {
4408 SceneObjectPart obj = World.GetSceneObjectPart(World.Entities[key].LocalId); 4408 SceneObjectPart obj = World.GetSceneObjectPart(key);
4409 if (obj == null) 4409 if (obj == null)
4410 return id; // the key is for an agent so just return the key 4410 return id; // the key is for an agent so just return the key
4411 else 4411 else