diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-01-30 10:01:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-02-09 21:30:38 +0300 |
commit | 35cc058ec2a4ccf5c3fbfae4ad4687398e3e7f62 (patch) | |
tree | 803ba967a4b5396181de4d1c7a692dd073122bf5 /src | |
parent | 79811139ab53cc13f984f40f92c81ed4c06b2c0e (diff) | |
download | hercules-35cc058ec2a4ccf5c3fbfae4ad4687398e3e7f62.tar.gz hercules-35cc058ec2a4ccf5c3fbfae4ad4687398e3e7f62.tar.bz2 hercules-35cc058ec2a4ccf5c3fbfae4ad4687398e3e7f62.tar.xz hercules-35cc058ec2a4ccf5c3fbfae4ad4687398e3e7f62.zip |
Enable packet ZC_SE_CASHSHOP_OPEN for main and re clients
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 2 | ||||
-rw-r--r-- | src/map/packets_struct.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 30b01d7f0..942e492c2 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -20028,7 +20028,7 @@ static void clif_cashShopOpen(int fd, struct map_session_data *sd, int tab) p->packetType = HEADER_ZC_SE_CASHSHOP_OPEN; p->cashPoints = sd->cashPoints; //[Ryuuzaki] - switched positions to reflect proper values p->kafraPoints = sd->kafraPoints; -#if PACKETVER_ZERO_NUM >= 20191224 +#if PACKETVER_MAIN_NUM >= 20200129 || PACKETVER_RE_NUM >= 20200205 || PACKETVER_ZERO_NUM >= 20191224 p->tab = tab; #endif WFIFOSET(fd, sizeof(struct PACKET_ZC_SE_CASHSHOP_OPEN)); diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index f00d5765d..c2c99629a 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3770,7 +3770,7 @@ struct PACKET_CZ_SE_CASHSHOP_LIMITED_REQ { DEFINE_PACKET_HEADER(CZ_SE_CASHSHOP_LIMITED_REQ, 0x0b4c); #endif -#if PACKETVER_ZERO_NUM >= 20191224 +#if PACKETVER_MAIN_NUM >= 20200129 || PACKETVER_RE_NUM >= 20200205 || PACKETVER_ZERO_NUM >= 20191224 struct PACKET_ZC_SE_CASHSHOP_OPEN { int16 packetType; uint32 cashPoints; |