summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-01-25 22:21:54 +0300
committerAndrei Karas <akaras@inbox.ru>2019-01-25 22:21:54 +0300
commit0042fdf7678e8a8ba386668f4149a27e71ef8a13 (patch)
tree420ffe7ae1f0c5b284347c33d821c9bff8bbcefe /src/net/eathena/npchandler.cpp
parentf6010722cd8843bf4367ee652b38000327c99082 (diff)
downloadplus-0042fdf7678e8a8ba386668f4149a27e71ef8a13.tar.gz
plus-0042fdf7678e8a8ba386668f4149a27e71ef8a13.tar.bz2
plus-0042fdf7678e8a8ba386668f4149a27e71ef8a13.tar.xz
plus-0042fdf7678e8a8ba386668f4149a27e71ef8a13.zip
Update version checks for packet CMSG_PRIVATE_AIRSHIP_REQUEST
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r--src/net/eathena/npchandler.cpp4
1 files changed, 3 insertions, 1 deletions
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;
}