diff options
author | MaximB ProductEngine <mberezhnoy@productengine.com> | 2013-12-12 09:38:02 +0200 |
---|---|---|
committer | MaximB ProductEngine <mberezhnoy@productengine.com> | 2013-12-12 09:38:02 +0200 |
commit | 72d2d1a975bb971fcb9c65b8e12d6f55b6c0c17d (patch) | |
tree | 5eec61242a8557c40a66777624af4f44df2b8814 /indra/newview/llgiveinventory.cpp | |
parent | f3a50a5084091d12aea47df1f75c1820e1d0e2d4 (diff) |
MAINT-3519 (Resident is able to share worn clothes.)
Diffstat (limited to 'indra/newview/llgiveinventory.cpp')
-rwxr-xr-x | indra/newview/llgiveinventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgiveinventory.cpp b/indra/newview/llgiveinventory.cpp index 72bea8db10..0dd84b6073 100755 --- a/indra/newview/llgiveinventory.cpp +++ b/indra/newview/llgiveinventory.cpp @@ -139,7 +139,7 @@ bool LLGiveInventory::isInventoryGiveAcceptable(const LLInventoryItem* item) BOOL copyable = false; if (item->getPermissions().allowCopyBy(gAgentID)) copyable = true; - if (!copyable && get_is_item_worn(item->getUUID())) + if (!copyable || get_is_item_worn(item->getUUID())) { acceptable = false; } |