diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 5 | ||||
-rw-r--r-- | src/map/packets.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 557d6216c..4d526a538 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -17678,7 +17678,9 @@ void clif_parse_CashShopClose(int fd, struct map_session_data *sd) { } void clif_parse_CashShopSchedule(int fd, struct map_session_data *sd) __attribute__((nonnull (2))); -void clif_parse_CashShopSchedule(int fd, struct map_session_data *sd) { +void clif_parse_CashShopSchedule(int fd, struct map_session_data *sd) +{ +#if PACKETVER >= 20110614 int i, j = 0; for( i = 0; i < CASHSHOP_TAB_MAX; i++ ) { @@ -17698,6 +17700,7 @@ void clif_parse_CashShopSchedule(int fd, struct map_session_data *sd) { WFIFOSET(fd, 8 + ( clif->cs.item_count[i] * 6 )); } +#endif } void clif_parse_CashShopBuy(int fd, struct map_session_data *sd) __attribute__((nonnull (2))); diff --git a/src/map/packets.h b/src/map/packets.h index e03141fcd..5f9dc0631 100644 --- a/src/map/packets.h +++ b/src/map/packets.h @@ -1923,6 +1923,7 @@ packet(0x96e,-1,clif->ackmergeitems); // new packets packet(0x08c8,34); // ZC_NOTIFY_ACT3 packet(0x08c9,2,clif->pCashShopSchedule,0); + packet(0x08ca,-1); // ZC_ACK_SCHEDULER_CASHITEM #endif //2011-07-18aRagexe (Thanks to Yommy!) |