summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-04-17 05:56:31 +0200
committerGitHub <noreply@github.com>2019-04-17 05:56:31 +0200
commit0013040c4ed763eb4359a56ee106449fea5f2a83 (patch)
tree318eb5428ce91b1ee31662aaf3c6ef3e9084a603 /src/common/mmo.h
parentab81d4012eac5c2c00c485971fc9b89bf69761be (diff)
parent9ae815c3a8768f1eddd89b365d64526a6a8ecd48 (diff)
downloadhercules-0013040c4ed763eb4359a56ee106449fea5f2a83.tar.gz
hercules-0013040c4ed763eb4359a56ee106449fea5f2a83.tar.bz2
hercules-0013040c4ed763eb4359a56ee106449fea5f2a83.tar.xz
hercules-0013040c4ed763eb4359a56ee106449fea5f2a83.zip
Merge pull request #2437 from 4144/rodexfixes
Different rodex fixes
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 2fc464243..a29b0f2db 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -978,6 +978,11 @@ enum fame_list_type {
RANKTYPE_PK = 3, //Not supported yet
};
+struct rodex_item {
+ struct item item;
+ int idx;
+};
+
struct rodex_message {
int64 id;
int sender_id;
@@ -987,10 +992,7 @@ struct rodex_message {
char receiver_name[NAME_LENGTH];
char title[RODEX_TITLE_LENGTH];
char body[RODEX_BODY_LENGTH];
- struct {
- struct item item;
- int idx;
- } items[RODEX_MAX_ITEM];
+ struct rodex_item items[RODEX_MAX_ITEM];
int64 zeny;
uint8 type;
int8 opentype;