diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-11-03 17:03:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-11-03 17:12:49 +0300 |
commit | 9fd868cd971e9bd2e811c0037b6545833da5f954 (patch) | |
tree | bd3f335cb15b2e8e91b85e269c53a10d6d347837 /src/map/clif.c | |
parent | 9e579c0307d9987705c294ee2b88a8a03bf2bda8 (diff) | |
download | hercules-9fd868cd971e9bd2e811c0037b6545833da5f954.tar.gz hercules-9fd868cd971e9bd2e811c0037b6545833da5f954.tar.bz2 hercules-9fd868cd971e9bd2e811c0037b6545833da5f954.tar.xz hercules-9fd868cd971e9bd2e811c0037b6545833da5f954.zip |
Fix version for packet 0x08d6 ZC_CLEAR_DIALOG.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 7a7dae337..5d9802b57 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -18050,14 +18050,17 @@ void clif_bgqueue_battlebegins(struct map_session_data *sd, unsigned char arena_ clif->send(&p,sizeof(p), &sd->bl, target); } -void clif_scriptclear(struct map_session_data *sd, int npcid) { +void clif_scriptclear(struct map_session_data *sd, int npcid) +{ +#if PACKETVER >= 20110928 struct packet_script_clear p; nullpo_retv(sd); p.PacketType = script_clearType; p.NpcID = npcid; - clif->send(&p,sizeof(p), &sd->bl, SELF); + clif->send(&p, sizeof(p), &sd->bl, SELF); +#endif } /* Made Possible Thanks to Yommy! */ |