diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-12 20:53:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-12 20:53:54 +0300 |
commit | 8b8efe383c502456a36d0f0faf5a2079b816243d (patch) | |
tree | 6224cd987b9820999c77e1898fea19df913674fc /src/net/eathena/buysellhandler.cpp | |
parent | 1425c495898e604c83db58f0bc4f53a4ac7c1df0 (diff) | |
download | manaplus-8b8efe383c502456a36d0f0faf5a2079b816243d.tar.gz manaplus-8b8efe383c502456a36d0f0faf5a2079b816243d.tar.bz2 manaplus-8b8efe383c502456a36d0f0faf5a2079b816243d.tar.xz manaplus-8b8efe383c502456a36d0f0faf5a2079b816243d.zip |
Fix version for market and some other packets.
Diffstat (limited to 'src/net/eathena/buysellhandler.cpp')
-rw-r--r-- | src/net/eathena/buysellhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/buysellhandler.cpp b/src/net/eathena/buysellhandler.cpp index 7f48821de..9fa8fbc5e 100644 --- a/src/net/eathena/buysellhandler.cpp +++ b/src/net/eathena/buysellhandler.cpp @@ -30,6 +30,7 @@ #include "debug.h" extern Net::BuySellHandler *buySellHandler; +extern int packetVersion; namespace EAthena { @@ -63,6 +64,9 @@ void BuySellHandler::sendSellRequest(const std::string &nick A_UNUSED, void BuySellHandler::close() const { + if (packetVersion < 20131218) + return; + createOutPacket(CMSG_NPC_SHOP_CLOSE); } |