summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-20 22:08:05 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-28 04:41:41 +0300
commit953a195826376293a092dc00bd8400dd3c88e37a (patch)
tree3ac99b7fa9cf9e610240b43b46fecf939e3b9181 /src/map
parentec38bb9ec92453cbfa9ee0a237d0382a02cf35d1 (diff)
downloadhercules-953a195826376293a092dc00bd8400dd3c88e37a.tar.gz
hercules-953a195826376293a092dc00bd8400dd3c88e37a.tar.bz2
hercules-953a195826376293a092dc00bd8400dd3c88e37a.tar.xz
hercules-953a195826376293a092dc00bd8400dd3c88e37a.zip
Update struct for packet CZ_REQ_OPEN_MAIL.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/packets_struct.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 69bc6a730..7a50032c1 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -21034,7 +21034,7 @@ static void clif_parse_rodex_open_mailbox(int fd, struct map_session_data *sd)
{
const struct PACKET_CZ_REQ_OPEN_MAIL *packet = RFIFOP(fd, 0);
#if PACKETVER >= 20170419
- rodex->open(sd, RODEX_OPENTYPE_UNSET, packet->Upper_MailID);
+ rodex->open(sd, RODEX_OPENTYPE_UNSET, packet->char_Upper_MailID);
#else
rodex->open(sd, packet->opentype, packet->Upper_MailID);
#endif
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 30595534f..b83463c11 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1582,8 +1582,9 @@ struct PACKET_CZ_REQ_NEXT_MAIL_LIST {
struct PACKET_CZ_REQ_OPEN_MAIL {
int16 PacketType;
#if PACKETVER >= 20170419
- int64 Upper_MailID;
- int8 unknown[16];
+ int64 char_Upper_MailID;
+ int64 return_Upper_MailID;
+ int64 account_Upper_MailID;
#else
int8 opentype;
int64 Upper_MailID;