summaryrefslogtreecommitdiff
path: root/src/net/eathena/bankhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/bankhandler.cpp')
-rw-r--r--src/net/eathena/bankhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/bankhandler.cpp b/src/net/eathena/bankhandler.cpp
index 7b4d849dd..352aca54e 100644
--- a/src/net/eathena/bankhandler.cpp
+++ b/src/net/eathena/bankhandler.cpp
@@ -61,21 +61,21 @@ void BankHandler::handleMessage(Net::MessageIn &msg)
void BankHandler::deposit(const int money) const
{
- MessageOut outMsg(CMSG_BANK_DEPOSIT);
+ createOutPacket(CMSG_BANK_DEPOSIT);
outMsg.writeInt32(0, "account id");
outMsg.writeInt32(money, "money");
}
void BankHandler::withdraw(const int money) const
{
- MessageOut outMsg(CMSG_BANK_WITHDRAW);
+ createOutPacket(CMSG_BANK_WITHDRAW);
outMsg.writeInt32(0, "account id");
outMsg.writeInt32(money, "money");
}
void BankHandler::check() const
{
- MessageOut outMsg(CMSG_BANK_CHECK);
+ createOutPacket(CMSG_BANK_CHECK);
outMsg.writeInt32(0, "account id");
}