summaryrefslogtreecommitdiff
path: root/src/char/mapif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-12 00:31:40 +0300
committerAndrei Karas <akaras@inbox.ru>2019-04-14 01:14:56 +0300
commit5b502a267b6546ade4adb116d11354f0bf929cbf (patch)
treecbfe974ab458c6accf7c2db35b2cb1aceb8d7b28 /src/char/mapif.c
parentab81d4012eac5c2c00c485971fc9b89bf69761be (diff)
downloadhercules-5b502a267b6546ade4adb116d11354f0bf929cbf.tar.gz
hercules-5b502a267b6546ade4adb116d11354f0bf929cbf.tar.bz2
hercules-5b502a267b6546ade4adb116d11354f0bf929cbf.tar.xz
hercules-5b502a267b6546ade4adb116d11354f0bf929cbf.zip
Add account id and char id into inter server rodex update packet
Diffstat (limited to 'src/char/mapif.c')
-rw-r--r--src/char/mapif.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/char/mapif.c b/src/char/mapif.c
index fb904a46d..7e8f253bc 100644
--- a/src/char/mapif.c
+++ b/src/char/mapif.c
@@ -1744,10 +1744,13 @@ static void mapif_rodex_sendhasnew(int fd, int char_id, bool has_new)
*------------------------------------------*/
static void mapif_parse_rodex_updatemail(int fd)
{
- int64 mail_id = RFIFOL(fd, 2);
- int8 flag = RFIFOB(fd, 10);
+ int account_id = RFIFOL(fd, 2);
+ int char_id = RFIFOL(fd, 6);
+ int64 mail_id = RFIFOQ(fd, 10);
+ uint8 opentype = RFIFOB(fd, 18);
+ int8 flag = RFIFOB(fd, 19);
- inter_rodex->updatemail(mail_id, flag);
+ inter_rodex->updatemail(fd, account_id, char_id, mail_id, opentype, flag);
}
/*==========================================