summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/tradehandler.cpp2
-rw-r--r--src/net/tmwa/tradehandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index 4ee77a7ec..12e6b94ab 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -156,7 +156,7 @@ void TradeHandler::cancel() const
createOutPacket(CMSG_TRADE_CANCEL_REQUEST);
}
-void TradeHandler::processTradeRequest(Net::MessageIn &msg) const
+void TradeHandler::processTradeRequest(Net::MessageIn &msg)
{
processTradeRequestContinue(msg.readString(24, "name"));
}
diff --git a/src/net/tmwa/tradehandler.h b/src/net/tmwa/tradehandler.h
index 34b67cbd5..715c69838 100644
--- a/src/net/tmwa/tradehandler.h
+++ b/src/net/tmwa/tradehandler.h
@@ -55,7 +55,7 @@ class TradeHandler final : public MessageHandler, public Ea::TradeHandler
void cancel() const override final;
protected:
- void processTradeRequest(Net::MessageIn &msg) const;
+ static void processTradeRequest(Net::MessageIn &msg);
static void processTradeItemAdd(Net::MessageIn &msg);