diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 10e74ea..0163060 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -786,12 +786,16 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
786 | { | 786 | { |
787 | rootPart.Name = item.Name; | 787 | rootPart.Name = item.Name; |
788 | rootPart.Description = item.Description; | 788 | rootPart.Description = item.Description; |
789 | } | ||
790 | if ((item.Flags & (uint)InventoryItemFlags.ObjectSlamSale) != 0) | ||
791 | { | ||
789 | rootPart.ObjectSaleType = item.SaleType; | 792 | rootPart.ObjectSaleType = item.SaleType; |
790 | rootPart.SalePrice = item.SalePrice; | 793 | rootPart.SalePrice = item.SalePrice; |
791 | } | 794 | } |
792 | 795 | ||
793 | group.SetGroup(remoteClient.ActiveGroupId, remoteClient); | 796 | group.SetGroup(remoteClient.ActiveGroupId, remoteClient); |
794 | // TODO: Remove the magic number badness | 797 | // TODO: Remove the magic number badness |
798 | |||
795 | if ((rootPart.OwnerID != item.Owner) || | 799 | if ((rootPart.OwnerID != item.Owner) || |
796 | (item.CurrentPermissions & 16) != 0 || // Magic number | 800 | (item.CurrentPermissions & 16) != 0 || // Magic number |
797 | (item.Flags & (uint)InventoryItemFlags.ObjectSlamPerm) != 0) | 801 | (item.Flags & (uint)InventoryItemFlags.ObjectSlamPerm) != 0) |