summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-09 17:04:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-09 17:04:02 +0300
commit3ed77b00b2a15aa478de49b7d8382d7a99930e73 (patch)
tree90fd0966d3b64ae3521557b005645ab9547047d0
parentc3762a4826dbe920d0ced389233173454d2f93a4 (diff)
downloadmv-3ed77b00b2a15aa478de49b7d8382d7a99930e73.tar.gz
mv-3ed77b00b2a15aa478de49b7d8382d7a99930e73.tar.bz2
mv-3ed77b00b2a15aa478de49b7d8382d7a99930e73.tar.xz
mv-3ed77b00b2a15aa478de49b7d8382d7a99930e73.zip
eathena: impliment packet SMSG_TRADE_RESPONSE2 0x01f5.
-rw-r--r--src/net/eathena/tradehandler.cpp3
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)