summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-28 22:08:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-30 02:32:10 +0300
commit7c21376f8dea2b438cb9470f74acc157a1929f06 (patch)
tree396829d37d642103dbd98e39b00bed7b8e875461 /src/common
parent48064104f599a2dfa57440a1fda861c27bd55401 (diff)
downloadhercules-7c21376f8dea2b438cb9470f74acc157a1929f06.tar.gz
hercules-7c21376f8dea2b438cb9470f74acc157a1929f06.tar.bz2
hercules-7c21376f8dea2b438cb9470f74acc157a1929f06.tar.xz
hercules-7c21376f8dea2b438cb9470f74acc157a1929f06.zip
Use item attribute as flags varible. Now only ATTR_BROKEN flag exists.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index ef87e2c7e..3d3360132 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -311,6 +311,11 @@ struct quest {
enum quest_state state; ///< Current quest state
};
+enum attribute_flag {
+ ATTR_NONE = 0,
+ ATTR_BROKEN = 1,
+};
+
struct item {
int id;
short nameid;