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 | |
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')
-rw-r--r-- | src/map/clif.c | 7 | ||||
-rw-r--r-- | src/map/packets.h | 7 |
2 files changed, 12 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! */ diff --git a/src/map/packets.h b/src/map/packets.h index a800ba769..c622cb89d 100644 --- a/src/map/packets.h +++ b/src/map/packets.h @@ -1966,6 +1966,13 @@ packet(0x96e,-1,clif->ackmergeitems); packet(0x08d3,10); // ZC_SE_CASHSHOP_UPDATE #endif +// 2011-09-28aRagexe +#if PACKETVER >= 20110928 +// shuffle packets not added +// new packets + packet(0x08d6,6); // ZC_CLEAR_DIALOG +#endif + //2011-10-05aRagexeRE #if PACKETVER >= 20111005 packet(0x0364,5,clif->pWalkToXY,2); |