diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-04 18:49:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:57 +0300 |
commit | 964fd34057c27c5b9ba0df94a6114968433bbf7e (patch) | |
tree | c75f7d05e3d83b0bbc1b672f05b427a9fd302837 /src/net/eathena/tradehandler.cpp | |
parent | 66c15abcf5af44cde75372a8089ac664f9308794 (diff) | |
download | manaverse-964fd34057c27c5b9ba0df94a6114968433bbf7e.tar.gz manaverse-964fd34057c27c5b9ba0df94a6114968433bbf7e.tar.bz2 manaverse-964fd34057c27c5b9ba0df94a6114968433bbf7e.tar.xz manaverse-964fd34057c27c5b9ba0df94a6114968433bbf7e.zip |
eathena: fix packet SMSG_TRADE_REQUEST 0x01f4.
Diffstat (limited to 'src/net/eathena/tradehandler.cpp')
-rw-r--r-- | src/net/eathena/tradehandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp index 1d9fabaa0..0e893caf9 100644 --- a/src/net/eathena/tradehandler.cpp +++ b/src/net/eathena/tradehandler.cpp @@ -148,7 +148,10 @@ void TradeHandler::cancel() const void TradeHandler::processTradeRequest(Net::MessageIn &msg) const { - processTradeRequestContinue(msg.readString(24, "name")); + const std::string &partner = msg.readString(24, "name"); + msg.readInt32("char id"); + msg.readInt16("base level"); + processTradeRequestContinue(partner); } } // namespace EAthena |