From ec96f90c72aa30127faf3099cbf1619679d7a60a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Jul 2018 22:15:25 +0300 Subject: Fix version check for packet CMSG_NPC_CASH_SHOP_REQUEST_TAB. --- src/net/eathena/cashshophandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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"); } -- cgit v1.2.3-60-g2f50