summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/cashshophandler.cpp5
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");
}