summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-29 22:42:35 +0200
committerGitHub <noreply@github.com>2018-06-29 22:42:35 +0200
commitfe476d318579755b30bb0ed5f61d402e5fa5754b (patch)
tree5f0ca6388601552375fb2fbaf96410dc76b76703 /src/common/mmo.h
parent887d53cac4391b438f07dccf7e148ff0769f6a55 (diff)
parent2170bf7c3cd95faf17030c5b458ab0d639e597fd (diff)
downloadhercules-fe476d318579755b30bb0ed5f61d402e5fa5754b.tar.gz
hercules-fe476d318579755b30bb0ed5f61d402e5fa5754b.tar.bz2
hercules-fe476d318579755b30bb0ed5f61d402e5fa5754b.tar.xz
hercules-fe476d318579755b30bb0ed5f61d402e5fa5754b.zip
Merge pull request #2095 from 4144/updatepackets
Update packets up to 2018-06-27 and fix some existing packets
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 0b4ba4a45..4a79245a1 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -363,6 +363,12 @@ enum attribute_flag {
ATTR_BROKEN = 1,
};
+struct item_option {
+ int16 index;
+ int16 value;
+ uint8 param;
+};
+
struct item {
int id;
short nameid;
@@ -376,12 +382,7 @@ struct item {
char favorite;
unsigned char bound;
uint64 unique_id;
-
- struct {
- int16 index;
- int16 value;
- uint8 param;
- } option[MAX_ITEM_OPTIONS];
+ struct item_option option[MAX_ITEM_OPTIONS];
};
//Equip position constants