summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-02-17 01:00:12 +0300
committerAndrei Karas <akaras@inbox.ru>2019-03-11 03:06:42 +0300
commit5f3d33a7f7ce115c776025308d5706bf4c11913b (patch)
tree261e30db81ac34ad2918be4d00e4b911f7c3508a /src
parenta0820df92f781bfc721bb7797f6f840880f1de08 (diff)
downloadhercules-5f3d33a7f7ce115c776025308d5706bf4c11913b.tar.gz
hercules-5f3d33a7f7ce115c776025308d5706bf4c11913b.tar.bz2
hercules-5f3d33a7f7ce115c776025308d5706bf4c11913b.tar.xz
hercules-5f3d33a7f7ce115c776025308d5706bf4c11913b.zip
Update packet ZC_USESKILL_ACK
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/packets_struct.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 86b130e88..12dca9e4d 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5432,7 +5432,7 @@ static void clif_useskill(struct block_list *bl, int src_id, int dst_id, int dst
#if PACKETVER_MAIN_NUM >= 20091124 || PACKETVER_RE_NUM >= 20091124 || defined(PACKETVER_ZERO)
p.disposable = 0;
#endif
-#if PACKETVER_ZERO_NUM >= 20190130
+#if PACKETVER_MAIN_NUM >= 20181212 || PACKETVER_RE_NUM >= 20181212 || PACKETVER_ZERO_NUM >= 20190130
p.unknown = 0;
#endif
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 2339935ec..42b11b718 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3111,7 +3111,7 @@ struct PACKET_CZ_NPC_BARTER_PURCHASE {
DEFINE_PACKET_HEADER(CZ_NPC_BARTER_PURCHASE, 0x0b0f);
#endif
-#if PACKETVER_ZERO_NUM >= 20190130
+#if PACKETVER_MAIN_NUM >= 20181212 || PACKETVER_RE_NUM >= 20181212 || PACKETVER_ZERO_NUM >= 20190130
struct PACKET_ZC_USESKILL_ACK {
int16 packetType;
uint32 srcId;