summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
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;