summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-11-03 04:36:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-11-03 17:12:49 +0300
commit645c97d3a754e9ca5b93cc7f32f00f62a21588c4 (patch)
tree9f03e2afcc1750101117e6a068eefe738a23c535 /src/map/clif.c
parent9e4f50b2f9a70f650889ec02969c66b1651b810a (diff)
downloadhercules-645c97d3a754e9ca5b93cc7f32f00f62a21588c4.tar.gz
hercules-645c97d3a754e9ca5b93cc7f32f00f62a21588c4.tar.bz2
hercules-645c97d3a754e9ca5b93cc7f32f00f62a21588c4.tar.xz
hercules-645c97d3a754e9ca5b93cc7f32f00f62a21588c4.zip
Fix version for packet 0x08ca ZC_ACK_SCHEDULER_CASHITEM.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 4 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)));