diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-10 02:40:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-10 02:40:38 +0300 |
commit | a7524c70c71cbdaed7e541105d9c743fb18f56cf (patch) | |
tree | 91404e26976f20a15ef48f8d3b91ecbad9ae0895 | |
parent | b7f800669a6171e326234a4a8f4b366588c36ae1 (diff) | |
download | plus-a7524c70c71cbdaed7e541105d9c743fb18f56cf.tar.gz plus-a7524c70c71cbdaed7e541105d9c743fb18f56cf.tar.bz2 plus-a7524c70c71cbdaed7e541105d9c743fb18f56cf.tar.xz plus-a7524c70c71cbdaed7e541105d9c743fb18f56cf.zip |
Fix compilation warning.
-rw-r--r-- | src/net/eathena/tradehandler.cpp | 2 |
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) { |