From 645c97d3a754e9ca5b93cc7f32f00f62a21588c4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 3 Nov 2016 04:36:31 +0300 Subject: Fix version for packet 0x08ca ZC_ACK_SCHEDULER_CASHITEM. --- src/map/clif.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/clif.c') 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))); -- cgit v1.2.3-70-g09d2