diff options
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 942600a26..5bab7ef15 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6094,7 +6094,7 @@ void clif_wis_end(int fd, int flag) { void clif_solved_charname(int fd, int charid, const char* name) { nullpo_retv(name); -#if PACKETVER_MAIN_NUM >= 20180307 || PACKETVER_RE_NUM >= 20180221 +#if PACKETVER_MAIN_NUM >= 20180307 || PACKETVER_RE_NUM >= 20180221 || PACKETVER_ZERO_NUM >= 20180328 WFIFOHEAD(fd, packet_len(0x0af7)); WFIFOW(fd, 0) = 0xaf7; if (*name == 0) { @@ -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))); |