diff options
Diffstat (limited to 'src/net/ea/tradehandler.cpp')
-rw-r--r-- | src/net/ea/tradehandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp index 1b0067f7c..2a478d953 100644 --- a/src/net/ea/tradehandler.cpp +++ b/src/net/ea/tradehandler.cpp @@ -136,9 +136,9 @@ void TradeHandler::processTradeOk(Net::MessageIn &msg) { // 0 means ok from myself, 1 means ok from other; if (tradeWindow) - tradeWindow->receivedOk(msg.readUInt8() == 0U); + tradeWindow->receivedOk(msg.readUInt8("status") == 0U); else - msg.readUInt8(); + msg.readUInt8("status"); } void TradeHandler::processTradeCancel(Net::MessageIn &msg A_UNUSED) |