summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
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;
}