summaryrefslogtreecommitdiff
path: root/src/map/packets.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-02-11 01:02:37 +0100
committerGitHub <noreply@github.com>2019-02-11 01:02:37 +0100
commit277c9edf4fb18dbb594fc293289d0b74ecc143d9 (patch)
treeb716296531f84e6b234902702e9502322ce3068e /src/map/packets.h
parent545842eb1e7ec1d38b45a494fb8848d3b778f2ed (diff)
parent6c071f5de0d10ff4700a74e82169a7e2b33842a7 (diff)
downloadhercules-277c9edf4fb18dbb594fc293289d0b74ecc143d9.tar.gz
hercules-277c9edf4fb18dbb594fc293289d0b74ecc143d9.tar.bz2
hercules-277c9edf4fb18dbb594fc293289d0b74ecc143d9.tar.xz
hercules-277c9edf4fb18dbb594fc293289d0b74ecc143d9.zip
Merge pull request #2353 from 4144/updatepackets
Update packets and messages up to 2019-01-30
Diffstat (limited to 'src/map/packets.h')
-rw-r--r--src/map/packets.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/packets.h b/src/map/packets.h
index 44a49b387..50784f09a 100644
--- a/src/map/packets.h
+++ b/src/map/packets.h
@@ -649,6 +649,10 @@ packet(0x96e,clif->ackmergeitems);
packet(0x0439,clif->pUseItem,2,4);
#endif
+#if PACKETVER_MAIN_NUM >= 20090406 || PACKETVER_RE_NUM >= 20090408 || PACKETVER_SAK_NUM >= 20090408 || defined(PACKETVER_ZERO)
+ packet(0x044a,clif->pClientVersion);
+#endif
+
// 2009-05-20aRagexe, 2009-05-20aRagexeRE
#if PACKETVER >= 20090520
// new packets
@@ -1922,7 +1926,7 @@ packet(0x96e,clif->ackmergeitems);
packet(0x0b19,clif->pInventoryExpansionRejected);
#endif
-#if PACKETVER_ZERO_NUM >= 20181226
+#if PACKETVER_MAIN_NUM >= 20190116 || PACKETVER_RE_NUM >= 20190116 || PACKETVER_ZERO_NUM >= 20181226
packet(0x0b0f,clif->pNPCBarterPurchase);
packet(0x0b12,clif->pNPCBarterClosed);
#endif