diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-19 17:55:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-19 17:55:52 +0300 |
commit | fa378412565f98a1ce6d438425ca34b20aaf223a (patch) | |
tree | 34bf055f2b179b9d49cbe5cabd646173737a053a /src/net/tmwa | |
parent | 2ef04505f91aa7bb1629ac294e9f166280961510 (diff) | |
download | manaverse-fa378412565f98a1ce6d438425ca34b20aaf223a.tar.gz manaverse-fa378412565f98a1ce6d438425ca34b20aaf223a.tar.bz2 manaverse-fa378412565f98a1ce6d438425ca34b20aaf223a.tar.xz manaverse-fa378412565f98a1ce6d438425ca34b20aaf223a.zip |
Add static in tradehandler.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/tradehandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/tradehandler.h | 2 |
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); |