From dc45270e96f73ac8cf45d62f9160fb02fecaf573 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 3 Nov 2016 04:07:58 +0300 Subject: Fix version for packet 0x08c0 ZC_ACK_SE_CASH_ITEM_LIST2. --- src/map/clif.c | 9 +++++++-- src/map/packets.h | 7 +++++++ 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'src/map') diff --git a/src/map/clif.c b/src/map/clif.c index db9224329..557d6216c 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -17791,7 +17791,9 @@ void clif_parse_CashShopBuy(int fd, struct map_session_data *sd) { void clif_parse_CashShopReqTab(int fd, struct map_session_data *sd) __attribute__((nonnull (2))); /* [Ind/Hercules] */ -void clif_parse_CashShopReqTab(int fd, struct map_session_data *sd) { +void clif_parse_CashShopReqTab(int fd, struct map_session_data *sd) +{ +#if PACKETVER >= 20110222 short tab = RFIFOW(fd, 2); int j; @@ -17810,9 +17812,12 @@ void clif_parse_CashShopReqTab(int fd, struct map_session_data *sd) { } WFIFOSET(fd, 10 + ( clif->cs.item_count[tab] * 6 )); +#endif } + /* [Ind/Hercules] */ -void clif_maptypeproperty2(struct block_list *bl,enum send_target t) { +void clif_maptypeproperty2(struct block_list *bl,enum send_target t) +{ #if PACKETVER >= 20121010 struct packet_maptypeproperty2 p; struct map_session_data *sd = NULL; diff --git a/src/map/packets.h b/src/map/packets.h index 2b2b2a820..47ec9e29c 100644 --- a/src/map/packets.h +++ b/src/map/packets.h @@ -1901,6 +1901,13 @@ packet(0x96e,-1,clif->ackmergeitems); packet(0x02f6,7,clif->pDull,2); // CZ_IRMAIL_LIST #endif +// 2011-02-22aRagexe +#if PACKETVER >= 20110222 +// shuffle packets not added +// new packets + packet(0x08c0,-1); // ZC_ACK_SE_CASH_ITEM_LIST2 +#endif + //2011-07-18aRagexe (Thanks to Yommy!) #if PACKETVER >= 20110718 packet(0x0844,2,clif->pCashShopOpen,2);/* tell server cashshop window is being open */ -- cgit v1.2.3-70-g09d2