From d6d6a61fa4c09579d8fa8cfcf9e20a9be5eb0c6c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 Apr 2018 01:31:10 +0300 Subject: Add missing #if into clif_quest_notify_objective. --- src/map/clif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 836fc2fc2..5bab7ef15 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -16381,6 +16381,7 @@ void clif_quest_update_objective(struct map_session_data *sd, struct quest *qd) /// 08fe .W { .L .L .W .W }*3 void clif_quest_notify_objective(struct map_session_data *sd, struct quest *qd) { +#if PACKETVER >= 20150513 int i, len, real_len; uint8 *buf = NULL; struct packet_quest_hunt_info *packet = NULL; @@ -16412,6 +16413,7 @@ void clif_quest_notify_objective(struct map_session_data *sd, struct quest *qd) packet->PacketLength = real_len; clif->send(buf, real_len, &sd->bl, SELF); aFree(buf); +#endif } void clif_parse_questStateAck(int fd, struct map_session_data *sd) __attribute__((nonnull (2))); -- cgit v1.2.3-70-g09d2