summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-18 01:51:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-02 13:27:39 +0300
commit40a239fcdaa1c6669868f06136b62a95c183e68c (patch)
tree4cd261b49621a864fcb72723960ca2b24980bab9 /src/map/itemdb.h
parent274aaebe2bad43a8196e3ff39ede344da8ce4d64 (diff)
downloadhercules-40a239fcdaa1c6669868f06136b62a95c183e68c.tar.gz
hercules-40a239fcdaa1c6669868f06136b62a95c183e68c.tar.bz2
hercules-40a239fcdaa1c6669868f06136b62a95c183e68c.tar.xz
hercules-40a239fcdaa1c6669868f06136b62a95c183e68c.zip
Add item attribute what prevent item removing on use.
New item attribute: KeepAfterUse
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index a1c4d1053..5504d72d9 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -414,6 +414,7 @@ struct item_data {
unsigned autoequip: 1;
unsigned buyingstore : 1;
unsigned bindonequip : 1;
+ unsigned keepafteruse : 1;
} flag;
struct {// item stacking limitation
unsigned short amount;