summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/tradehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index 7a4cb4e9f..05fd893ca 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -209,7 +209,7 @@ void TradeHandler::processTradeItemAdd(Net::MessageIn &msg)
void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg)
{
- const int index = msg.readInt16("index") - INVENTORY_OFFSET;
+ msg.readInt16("index");
const uint8_t res = msg.readUInt8("fail");
switch (res)
{