summaryrefslogtreecommitdiff
path: root/indra/llappearance/llwearabletype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llappearance/llwearabletype.cpp')
-rw-r--r--indra/llappearance/llwearabletype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llappearance/llwearabletype.cpp b/indra/llappearance/llwearabletype.cpp
index dc02b5e225..d6ff28e2d2 100644
--- a/indra/llappearance/llwearabletype.cpp
+++ b/indra/llappearance/llwearabletype.cpp
@@ -181,6 +181,6 @@ BOOL LLWearableType::getAllowMultiwear(LLWearableType::EType type)
// static
LLWearableType::EType LLWearableType::inventoryFlagsToWearableType(U32 flags)
{
- return (LLWearableType::EType)(flags & LLInventoryItemFlags::II_FLAGS_WEARABLES_MASK);
+ return (LLWearableType::EType)(flags & LLInventoryItemFlags::II_FLAGS_SUBTYPE_MASK);
}