diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-09 17:04:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-09 17:04:02 +0300 |
commit | 3ed77b00b2a15aa478de49b7d8382d7a99930e73 (patch) | |
tree | 90fd0966d3b64ae3521557b005645ab9547047d0 /src/net | |
parent | c3762a4826dbe920d0ced389233173454d2f93a4 (diff) | |
download | plus-3ed77b00b2a15aa478de49b7d8382d7a99930e73.tar.gz plus-3ed77b00b2a15aa478de49b7d8382d7a99930e73.tar.bz2 plus-3ed77b00b2a15aa478de49b7d8382d7a99930e73.tar.xz plus-3ed77b00b2a15aa478de49b7d8382d7a99930e73.zip |
eathena: impliment packet SMSG_TRADE_RESPONSE2 0x01f5.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/tradehandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp index 02968fa5b..09378ea07 100644 --- a/src/net/eathena/tradehandler.cpp +++ b/src/net/eathena/tradehandler.cpp @@ -163,9 +163,10 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg) const void TradeHandler::processTradeResponse2(Net::MessageIn &msg) const { - msg.readUInt8("type"); + const uint8_t type = msg.readUInt8("type"); msg.readInt32("char id"); msg.readInt16("base level"); + processTradeResponseContinue(type); } void TradeHandler::processTradeItemAdd(Net::MessageIn &msg) |