summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-06-30 01:42:28 +0200
committerGitHub <noreply@github.com>2016-06-30 01:42:28 +0200
commitbe91934950494423961c7f9ca6dbfb42844359c2 (patch)
tree396829d37d642103dbd98e39b00bed7b8e875461 /src/common/mmo.h
parent48064104f599a2dfa57440a1fda861c27bd55401 (diff)
parent7c21376f8dea2b438cb9470f74acc157a1929f06 (diff)
downloadhercules-be91934950494423961c7f9ca6dbfb42844359c2.tar.gz
hercules-be91934950494423961c7f9ca6dbfb42844359c2.tar.bz2
hercules-be91934950494423961c7f9ca6dbfb42844359c2.tar.xz
hercules-be91934950494423961c7f9ca6dbfb42844359c2.zip
Merge pull request #1329 from 4144/attribute
Use item attribute as flags varible. Now only ATTR_BROKEN flag exists.
Diffstat (limited to 'src/common/mmo.h')
-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;