summaryrefslogtreecommitdiff
path: root/src/char/mapif.h
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.h
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.h')
-rw-r--r--src/char/mapif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/mapif.h b/src/char/mapif.h
index f03f1ad9a..7fc79f661 100644
--- a/src/char/mapif.h
+++ b/src/char/mapif.h
@@ -177,7 +177,7 @@ struct mapif_interface {
void (*send_quests) (int fd, int char_id, struct quest *tmp_questlog, int num_quests);
int (*parse_quest_load) (int fd);
int(*parse_rodex_requestinbox) (int fd);
- void(*rodex_sendinbox) (int fd, int char_id, int8 opentype, int8 flag, int count, struct rodex_maillist *mails);
+ void(*rodex_sendinbox) (int fd, int char_id, int8 opentype, int8 flag, int count, int64 mail_id, struct rodex_maillist *mails);
int(*parse_rodex_checkhasnew) (int fd);
void(*rodex_sendhasnew) (int fd, int char_id, bool has_new);
int(*parse_rodex_updatemail) (int fd);