summaryrefslogtreecommitdiff
path: root/src/net/eathena/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-16 16:52:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 16:52:42 +0300
commit5fb0cfc6d741fc1791172f374ed4ac666e73144f (patch)
tree5ba142782c83fe713709cc816cb03d7405a7bc47 /src/net/eathena/tradehandler.cpp
parent901b607d96bb59c012e679918d9ca083d2ad3c2f (diff)
downloadmanaverse-5fb0cfc6d741fc1791172f374ed4ac666e73144f.tar.gz
manaverse-5fb0cfc6d741fc1791172f374ed4ac666e73144f.tar.bz2
manaverse-5fb0cfc6d741fc1791172f374ed4ac666e73144f.tar.xz
manaverse-5fb0cfc6d741fc1791172f374ed4ac666e73144f.zip
eathena: rename packet SMSG_TRADE_RESPONSE2 into SMSG_TRADE_RESPONSE.
Diffstat (limited to 'src/net/eathena/tradehandler.cpp')
-rw-r--r--src/net/eathena/tradehandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index acd4090b6..88bcceb10 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -55,7 +55,7 @@ TradeHandler::TradeHandler() :
static const uint16_t _messages[] =
{
SMSG_TRADE_REQUEST,
- SMSG_TRADE_RESPONSE2,
+ SMSG_TRADE_RESPONSE,
SMSG_TRADE_ITEM_ADD,
SMSG_TRADE_ITEM_ADD_RESPONSE,
SMSG_TRADE_OK,
@@ -79,8 +79,8 @@ void TradeHandler::handleMessage(Net::MessageIn &msg)
processTradeRequest(msg);
break;
- case SMSG_TRADE_RESPONSE2:
- processTradeResponse2(msg);
+ case SMSG_TRADE_RESPONSE:
+ processTradeResponse(msg);
break;
case SMSG_TRADE_ITEM_ADD:
@@ -173,7 +173,7 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg)
processTradeRequestContinue(partner);
}
-void TradeHandler::processTradeResponse2(Net::MessageIn &msg)
+void TradeHandler::processTradeResponse(Net::MessageIn &msg)
{
const uint8_t type = msg.readUInt8("type");
msg.readInt32("char id");