diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-11-03 04:36:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-11-03 17:12:49 +0300 |
commit | 645c97d3a754e9ca5b93cc7f32f00f62a21588c4 (patch) | |
tree | 9f03e2afcc1750101117e6a068eefe738a23c535 /src | |
parent | 9e4f50b2f9a70f650889ec02969c66b1651b810a (diff) | |
download | hercules-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')
-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!) |