diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index cf9dfee..6fb0eed 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2478,7 +2478,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2478 | // if (m_parentGroup == null || m_parentGroup.RootPart == this) | 2478 | // if (m_parentGroup == null || m_parentGroup.RootPart == this) |
2479 | // f &= ~(PrimFlags.Touch | PrimFlags.Money); | 2479 | // f &= ~(PrimFlags.Touch | PrimFlags.Money); |
2480 | 2480 | ||
2481 | return (uint)Flags | (uint)LocalFlags; | 2481 | uint eff = (uint)Flags | (uint)LocalFlags; |
2482 | if(m_inventory == null || m_inventory.Count == 0) | ||
2483 | eff = (uint)PrimFlags.InventoryEmpty; | ||
2484 | return eff; | ||
2482 | } | 2485 | } |
2483 | 2486 | ||
2484 | // some of this lines need be moved to other place later | 2487 | // some of this lines need be moved to other place later |