summaryrefslogtreecommitdiff
path: root/src/char/mapif.c
diff options
context:
space:
mode:
authorGuilherme G. Menaldo <guilherme.menaldo@outlook.com>2018-03-01 02:12:57 -0300
committerGuilherme G. Menaldo <guilherme.menaldo@outlook.com>2018-03-08 23:14:22 -0300
commitc071cb6e4ab5eaac34e5cc2d54d8d0a441e8ea24 (patch)
tree6f19b0e13e7046599f0b54dd23715020d21119ce /src/char/mapif.c
parent5b4f79ade2152da83e3c5df610efd54714acaa1f (diff)
downloadhercules-c071cb6e4ab5eaac34e5cc2d54d8d0a441e8ea24.tar.gz
hercules-c071cb6e4ab5eaac34e5cc2d54d8d0a441e8ea24.tar.bz2
hercules-c071cb6e4ab5eaac34e5cc2d54d8d0a441e8ea24.tar.xz
hercules-c071cb6e4ab5eaac34e5cc2d54d8d0a441e8ea24.zip
Fixed a nullpo error when user tried to do an action in an unloaded mail in rodex
Diffstat (limited to 'src/char/mapif.c')
-rw-r--r--src/char/mapif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/mapif.c b/src/char/mapif.c
index 241edc925..f80e38fe7 100644
--- a/src/char/mapif.c
+++ b/src/char/mapif.c
@@ -185,7 +185,7 @@ void mapif_send_quests(int fd, int char_id, struct quest *tmp_questlog, int num_
int mapif_parse_quest_load(int fd);
/* RoDEX */
int mapif_parse_rodex_requestinbox(int fd);
-void mapif_rodex_sendinbox(int fd, int char_id, int8 opentype, int8 flag, int count, struct rodex_maillist *mails);
+void mapif_rodex_sendinbox(int fd, int char_id, int8 opentype, int8 flag, int count, int64 mail_id, struct rodex_maillist *mails);
int mapif_parse_rodex_checkhasnew(int fd);
void mapif_rodex_sendhasnew(int fd, int char_id, bool has_new);
int mapif_parse_rodex_updatemail(int fd);