diff options
author | Haru <haru@dotalux.com> | 2019-04-17 05:56:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-17 05:56:31 +0200 |
commit | 0013040c4ed763eb4359a56ee106449fea5f2a83 (patch) | |
tree | 318eb5428ce91b1ee31662aaf3c6ef3e9084a603 /src/common/mmo.h | |
parent | ab81d4012eac5c2c00c485971fc9b89bf69761be (diff) | |
parent | 9ae815c3a8768f1eddd89b365d64526a6a8ecd48 (diff) | |
download | hercules-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.h | 10 |
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; |