summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-10 21:23:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-22 01:42:43 +0300
commit2df7202ba89332afb00372a0b95926078059e968 (patch)
tree109a62ca0211af5c1f88eaf0cf2df5db7b4d2065 /src/map/clif.c
parent36ba4a248e5c23af16e1cdf64cddff172e42a383 (diff)
downloadhercules-2df7202ba89332afb00372a0b95926078059e968.tar.gz
hercules-2df7202ba89332afb00372a0b95926078059e968.tar.bz2
hercules-2df7202ba89332afb00372a0b95926078059e968.tar.xz
hercules-2df7202ba89332afb00372a0b95926078059e968.zip
Update packet ZC_ADD_QUEST_EX.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index dca381897..00ac4ea81 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -16965,7 +16965,11 @@ static void clif_quest_add(struct map_session_data *sd, struct quest *qd)
monster = mob->db(qi->objectives[i].mob);
-#if PACKETVER >= 20150513
+#if PACKETVER_ZERO_NUM >= 20181010 || PACKETVER >= 20181017
+ packet->objectives[i].huntIdent = qd->quest_id;
+ packet->objectives[i].huntIdent2 = i;
+ packet->objectives[i].mobType = 0; // Info Needed
+#elif PACKETVER >= 20150513
packet->objectives[i].huntIdent = (qd->quest_id * 1000) + i;
packet->objectives[i].mobType = 0; // Info Needed
#endif