From e79d2d215ed5c3a4aee43535fb72c12366c32cea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Dec 2014 15:57:27 +0300 Subject: eathena: remove packet SMSG_TRADE_RESPONSE. --- src/net/eathena/protocol.h | 1 - src/net/eathena/tradehandler.cpp | 5 ----- 2 files changed, 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; -- cgit v1.2.3-60-g2f50