summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-06-30 21:03:47 +0200
committerGitHub <noreply@github.com>2019-06-30 21:03:47 +0200
commit60cbf12662c9cb481c6b93cec8778e93fa8f8d3d (patch)
tree9b75e97b6cb788959a9d4bc2c237ac8409d9e705 /src/map/itemdb.h
parent238cfaa6b6496da1a8569ad0a6f50d2c722c7d54 (diff)
parentd20cbae7763546555c4c9c8aa53266c40b31a2b1 (diff)
downloadhercules-60cbf12662c9cb481c6b93cec8778e93fa8f8d3d.tar.gz
hercules-60cbf12662c9cb481c6b93cec8778e93fa8f8d3d.tar.bz2
hercules-60cbf12662c9cb481c6b93cec8778e93fa8f8d3d.tar.xz
hercules-60cbf12662c9cb481c6b93cec8778e93fa8f8d3d.zip
Merge pull request #2427 from Emistry/scriptcommand_setfavoriteitem
Add *setfavoriteitemidx & *autofavoriteitem script commands - alter item favorite state
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index e032def0c..f66abe066 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -521,7 +521,8 @@ struct item_data {
unsigned no_refine : 1; // [celest]
unsigned delay_consume : 1; ///< Signifies items that are not consumed immediately upon double-click [Skotlex]
unsigned trade_restriction : 9; ///< Item trade restrictions mask (@see enum ItemTradeRestrictions)
- unsigned autoequip: 1;
+ unsigned autoequip : 1;
+ unsigned auto_favorite : 1;
unsigned buyingstore : 1;
unsigned bindonequip : 1;
unsigned keepafteruse : 1;