diff options
author | Teravus Ovares | 2008-05-14 21:17:57 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-14 21:17:57 +0000 |
commit | e45ace9b5482408fcc5c3bd7c2f3a16ab71d50a1 (patch) | |
tree | a0d8cc8444954d0c9961e88feb601e0b496d42fb /OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs | |
parent | * Refactor: Remove SceneObjectGroup.GetScenePresences() in favour of a direct... (diff) | |
download | opensim-SC-e45ace9b5482408fcc5c3bd7c2f3a16ab71d50a1.zip opensim-SC-e45ace9b5482408fcc5c3bd7c2f3a16ab71d50a1.tar.gz opensim-SC-e45ace9b5482408fcc5c3bd7c2f3a16ab71d50a1.tar.bz2 opensim-SC-e45ace9b5482408fcc5c3bd7c2f3a16ab71d50a1.tar.xz |
* Fixed attaching objects that are in-world.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs b/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs index 99d19df..aa4e043 100644 --- a/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs +++ b/OpenSim/Region/Environment/Scenes/SceneExternalChecks.cs | |||
@@ -118,11 +118,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
118 | CanTakeObjectCheckFunctions.Remove(delegateFunc); | 118 | CanTakeObjectCheckFunctions.Remove(delegateFunc); |
119 | } | 119 | } |
120 | 120 | ||
121 | public bool ExternalChecksCanTakeObject(LLUUID objectID, LLUUID stealer) | 121 | public bool ExternalChecksCanTakeObject(LLUUID objectID, LLUUID AvatarTakingUUID) |
122 | { | 122 | { |
123 | foreach (CanTakeObject check in CanTakeObjectCheckFunctions) | 123 | foreach (CanTakeObject check in CanTakeObjectCheckFunctions) |
124 | { | 124 | { |
125 | if (check(objectID, stealer, m_scene) == false) | 125 | if (check(objectID, AvatarTakingUUID, m_scene) == false) |
126 | { | 126 | { |
127 | return false; | 127 | return false; |
128 | } | 128 | } |