summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-10 21:05:40 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-22 01:42:43 +0300
commitcd98199c9378bc15078317fc79ef7a32ad096f76 (patch)
treefbfe7636e3d9da6ebb9e73ca0c929a1968a7b440 /src/map/clif.c
parent2b939af9320e0b6be7b2455cb862c08ebd62eb2d (diff)
downloadhercules-cd98199c9378bc15078317fc79ef7a32ad096f76.tar.gz
hercules-cd98199c9378bc15078317fc79ef7a32ad096f76.tar.bz2
hercules-cd98199c9378bc15078317fc79ef7a32ad096f76.tar.xz
hercules-cd98199c9378bc15078317fc79ef7a32ad096f76.zip
Update packet ZC_UPDATE_MISSION_HUNT_EX
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 1e9844f14..a7e8b66b9 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -17022,7 +17022,10 @@ static void clif_quest_update_objective(struct map_session_data *sd, struct ques
real_len += sizeof(packet->objectives[i]);
packet->objectives[i].questID = qd->quest_id;
-#if PACKETVER >= 20150513
+#if PACKETVER_ZERO_NUM >= 20181010 || PACKETVER >= 20181017
+ packet->objectives[i].huntIdent = qd->quest_id;
+ packet->objectives[i].huntIdent2 = i;
+#elif PACKETVER >= 20150513
packet->objectives[i].huntIdent = (qd->quest_id * 1000) + i;
#else
packet->objectives[i].mob_id = qi->objectives[i].mob;