diff options
-rw-r--r-- | src/map/clif.c | 9 | ||||
-rw-r--r-- | src/map/packets.h | 7 |
2 files changed, 14 insertions, 2 deletions
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 */ |