summaryrefslogtreecommitdiff
path: root/src/net/eathena/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-04 18:49:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commit964fd34057c27c5b9ba0df94a6114968433bbf7e (patch)
treec75f7d05e3d83b0bbc1b672f05b427a9fd302837 /src/net/eathena/tradehandler.cpp
parent66c15abcf5af44cde75372a8089ac664f9308794 (diff)
downloadmanaverse-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.cpp5
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