summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-16 15:57:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-16 15:57:27 +0300
commite79d2d215ed5c3a4aee43535fb72c12366c32cea (patch)
tree426d4536d0855d618465790d2ca9f8ec4f08c7c0
parentbc7231752a095dd451c37824e1c252d0f0579056 (diff)
downloadmv-e79d2d215ed5c3a4aee43535fb72c12366c32cea.tar.gz
mv-e79d2d215ed5c3a4aee43535fb72c12366c32cea.tar.bz2
mv-e79d2d215ed5c3a4aee43535fb72c12366c32cea.tar.xz
mv-e79d2d215ed5c3a4aee43535fb72c12366c32cea.zip
eathena: remove packet SMSG_TRADE_RESPONSE.
-rw-r--r--src/net/eathena/protocol.h1
-rw-r--r--src/net/eathena/tradehandler.cpp5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 879fb76dc..9bcdcf740 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -160,7 +160,6 @@
// Receiving a request to trade
#define SMSG_TRADE_REQUEST 0x01f4
-#define SMSG_TRADE_RESPONSE 0x00e7
#define SMSG_TRADE_RESPONSE2 0x01f5
#define SMSG_TRADE_ITEM_ADD 0x080f
#define SMSG_TRADE_ITEM_ADD_RESPONSE 0x00ea
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index ef08a5521..acd4090b6 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -55,7 +55,6 @@ TradeHandler::TradeHandler() :
static const uint16_t _messages[] =
{
SMSG_TRADE_REQUEST,
- SMSG_TRADE_RESPONSE,
SMSG_TRADE_RESPONSE2,
SMSG_TRADE_ITEM_ADD,
SMSG_TRADE_ITEM_ADD_RESPONSE,
@@ -80,10 +79,6 @@ void TradeHandler::handleMessage(Net::MessageIn &msg)
processTradeRequest(msg);
break;
- case SMSG_TRADE_RESPONSE:
- processTradeResponse(msg);
- break;
-
case SMSG_TRADE_RESPONSE2:
processTradeResponse2(msg);
break;