diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-07 01:31:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-07 01:31:10 +0300 |
commit | d6d6a61fa4c09579d8fa8cfcf9e20a9be5eb0c6c (patch) | |
tree | d9c4262af27cd5bdf6e9d860c79560891937e03f | |
parent | 38e7aa7634b87bb3906200a92d09c117d7fd2877 (diff) | |
download | hercules-d6d6a61fa4c09579d8fa8cfcf9e20a9be5eb0c6c.tar.gz hercules-d6d6a61fa4c09579d8fa8cfcf9e20a9be5eb0c6c.tar.bz2 hercules-d6d6a61fa4c09579d8fa8cfcf9e20a9be5eb0c6c.tar.xz hercules-d6d6a61fa4c09579d8fa8cfcf9e20a9be5eb0c6c.zip |
Add missing #if into clif_quest_notify_objective.
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <packet len>.W { <quest id>.L <mob id>.L <total count>.W <current count>.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))); |