summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r--src/resources/itemdb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index 346ddb9de..b4ae544ba 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -269,6 +269,9 @@ void ItemDB::load()
itemInfo->setType(itemTypeFromString(typeStr));
itemInfo->addTag(mTags["All"]);
itemInfo->setPet(pet);
+ itemInfo->setProtected(XML::getBoolProperty(
+ node, "sellProtected", false));
+
switch (itemInfo->getType())
{
case ITEM_USABLE: