diff options
author | Guilherme G. Menaldo <guilherme.menaldo@outlook.com> | 2018-03-01 02:12:57 -0300 |
---|---|---|
committer | Guilherme G. Menaldo <guilherme.menaldo@outlook.com> | 2018-03-08 23:14:22 -0300 |
commit | c071cb6e4ab5eaac34e5cc2d54d8d0a441e8ea24 (patch) | |
tree | 6f19b0e13e7046599f0b54dd23715020d21119ce /src/char/mapif.h | |
parent | 5b4f79ade2152da83e3c5df610efd54714acaa1f (diff) | |
download | hercules-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.h | 2 |
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); |