summaryrefslogtreecommitdiff
path: root/src/net/eathena/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-19 17:55:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-19 17:55:52 +0300
commitfa378412565f98a1ce6d438425ca34b20aaf223a (patch)
tree34bf055f2b179b9d49cbe5cabd646173737a053a /src/net/eathena/tradehandler.cpp
parent2ef04505f91aa7bb1629ac294e9f166280961510 (diff)
downloadplus-fa378412565f98a1ce6d438425ca34b20aaf223a.tar.gz
plus-fa378412565f98a1ce6d438425ca34b20aaf223a.tar.bz2
plus-fa378412565f98a1ce6d438425ca34b20aaf223a.tar.xz
plus-fa378412565f98a1ce6d438425ca34b20aaf223a.zip
Add static in tradehandler.
Diffstat (limited to 'src/net/eathena/tradehandler.cpp')
-rw-r--r--src/net/eathena/tradehandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index ef38a4e67..a183b70a6 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -163,7 +163,7 @@ void TradeHandler::cancel() const
createOutPacket(CMSG_TRADE_CANCEL_REQUEST);
}
-void TradeHandler::processTradeRequest(Net::MessageIn &msg) const
+void TradeHandler::processTradeRequest(Net::MessageIn &msg)
{
const std::string &partner = msg.readString(24, "name");
msg.readInt32("char id");
@@ -171,7 +171,7 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg) const
processTradeRequestContinue(partner);
}
-void TradeHandler::processTradeResponse2(Net::MessageIn &msg) const
+void TradeHandler::processTradeResponse2(Net::MessageIn &msg)
{
const uint8_t type = msg.readUInt8("type");
msg.readInt32("char id");
@@ -239,7 +239,7 @@ void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg)
}
}
-void TradeHandler::processTradeUndo(Net::MessageIn &msg A_UNUSED) const
+void TradeHandler::processTradeUndo(Net::MessageIn &msg A_UNUSED)
{
// +++ here need clear trade window from partner side?
}