summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;