From 0042fdf7678e8a8ba386668f4149a27e71ef8a13 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Jan 2019 22:21:54 +0300 Subject: Update version checks for packet CMSG_PRIVATE_AIRSHIP_REQUEST --- src/net/eathena/npchandler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/net/eathena/npchandler.cpp') diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index 7fd69601e..f44043a85 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -48,6 +48,7 @@ extern int packetVersion; extern int packetVersionMain; extern int packetVersionRe; +extern bool packets_zero; extern int itemIdLen; namespace EAthena @@ -374,7 +375,8 @@ void NpcHandler::requestAirship(const std::string &mapName, const int itemId) const { if (packetVersionRe < 20180321 && - packetVersionMain < 20180620) + packetVersionMain < 20180620 && + packets_zero == false) { return; } -- cgit v1.2.3-70-g09d2