summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c7
-rw-r--r--src/map/packets.h7
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);