diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-25 02:06:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-25 02:06:31 +0300 |
commit | c0b2cd3773c2a7fc6f7ca75c45c106ea04907109 (patch) | |
tree | 61bf5bc508b331145a815c631919379032188a4f /src/net/eathena/bankhandler.cpp | |
parent | b26174fda0f4a1c60e631038177f9fa5e614075f (diff) | |
download | plus-c0b2cd3773c2a7fc6f7ca75c45c106ea04907109.tar.gz plus-c0b2cd3773c2a7fc6f7ca75c45c106ea04907109.tar.bz2 plus-c0b2cd3773c2a7fc6f7ca75c45c106ea04907109.tar.xz plus-c0b2cd3773c2a7fc6f7ca75c45c106ea04907109.zip |
Change some packets dates based on last hercules changes.
Diffstat (limited to 'src/net/eathena/bankhandler.cpp')
-rw-r--r-- | src/net/eathena/bankhandler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/bankhandler.cpp b/src/net/eathena/bankhandler.cpp index 0caa516ad..7270e25a4 100644 --- a/src/net/eathena/bankhandler.cpp +++ b/src/net/eathena/bankhandler.cpp @@ -39,7 +39,7 @@ BankHandler::BankHandler() : void BankHandler::deposit(const int money) const { - if (packetVersion < 20130724) + if (packetVersion < 20130320) return; createOutPacket(CMSG_BANK_DEPOSIT); outMsg.writeInt32(0, "account id"); @@ -48,7 +48,7 @@ void BankHandler::deposit(const int money) const void BankHandler::withdraw(const int money) const { - if (packetVersion < 20130724) + if (packetVersion < 20130320) return; createOutPacket(CMSG_BANK_WITHDRAW); outMsg.writeInt32(0, "account id"); @@ -57,7 +57,7 @@ void BankHandler::withdraw(const int money) const void BankHandler::check() const { - if (packetVersion < 20130724) + if (packetVersion < 20130320) return; createOutPacket(CMSG_BANK_CHECK); outMsg.writeInt32(0, "account id"); @@ -65,7 +65,7 @@ void BankHandler::check() const void BankHandler::open() const { - if (packetVersion < 20130724) + if (packetVersion < 20130417) return; createOutPacket(CMSG_BANK_OPEN); outMsg.writeInt32(0, "unused"); @@ -73,7 +73,7 @@ void BankHandler::open() const void BankHandler::close() const { - if (packetVersion < 20130724) + if (packetVersion < 20130417) return; createOutPacket(CMSG_BANK_CLOSE); outMsg.writeInt32(0, "unused"); |