diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-26 22:15:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-26 22:15:25 +0300 |
commit | ec96f90c72aa30127faf3099cbf1619679d7a60a (patch) | |
tree | b48d4b7139d827ae1cd4660314cbdbffacfd39b7 /src | |
parent | 0177c9c0066e5679d8913752db28c6005d81ff44 (diff) | |
download | plus-ec96f90c72aa30127faf3099cbf1619679d7a60a.tar.gz plus-ec96f90c72aa30127faf3099cbf1619679d7a60a.tar.bz2 plus-ec96f90c72aa30127faf3099cbf1619679d7a60a.tar.xz plus-ec96f90c72aa30127faf3099cbf1619679d7a60a.zip |
Fix version check for packet CMSG_NPC_CASH_SHOP_REQUEST_TAB.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/cashshophandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp index 3585c4903..1953fafb6 100644 --- a/src/net/eathena/cashshophandler.cpp +++ b/src/net/eathena/cashshophandler.cpp @@ -145,8 +145,11 @@ void CashShopHandler::requestPoints() const void CashShopHandler::requestTab(const int tab) const { - if (packetVersion < 20110718) + if (packetVersion < 20110222 || + packetVersion >= 20120000) + { return; + } createOutPacket(CMSG_NPC_CASH_SHOP_REQUEST_TAB); outMsg.writeInt16(CAST_S16(tab), "tab"); } |