diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-10 21:11:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-22 01:42:43 +0300 |
commit | 36ba4a248e5c23af16e1cdf64cddff172e42a383 (patch) | |
tree | 610004c5352ae62305b30d8ef2c794b716cef031 /src/map/clif.c | |
parent | cd98199c9378bc15078317fc79ef7a32ad096f76 (diff) | |
download | hercules-36ba4a248e5c23af16e1cdf64cddff172e42a383.tar.gz hercules-36ba4a248e5c23af16e1cdf64cddff172e42a383.tar.bz2 hercules-36ba4a248e5c23af16e1cdf64cddff172e42a383.tar.xz hercules-36ba4a248e5c23af16e1cdf64cddff172e42a383.zip |
Update packet ZC_ALL_QUEST_LIST.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index a7e8b66b9..dca381897 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -16872,7 +16872,11 @@ static void clif_quest_send_list(struct map_session_data *sd) real_len += sizeof(info->objectives[j]); mob_data = mob->db(qi->objectives[j].mob); -#if PACKETVER >= 20150513 +#if PACKETVER_ZERO_NUM >= 20181010 || PACKETVER >= 20181017 + info->objectives[j].huntIdent = sd->quest_log[i].quest_id; + info->objectives[j].huntIdent2 = j; + info->objectives[j].mobType = 0; // Info Needed +#elif PACKETVER >= 20150513 info->objectives[j].huntIdent = (sd->quest_log[i].quest_id * 1000) + j; info->objectives[j].mobType = 0; // Info Needed #endif |