diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-23 20:23:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-23 20:23:04 +0300 |
commit | 4d02075c3daaefca2dcad72546e1e45b4219b5ad (patch) | |
tree | 9df679951e8c25efa1a0288a9b8105e8992f3c76 /src/net/ea | |
parent | b2683954e4574905ce3cc0cbf9afeeee35549009 (diff) | |
download | manaplus-4d02075c3daaefca2dcad72546e1e45b4219b5ad.tar.gz manaplus-4d02075c3daaefca2dcad72546e1e45b4219b5ad.tar.bz2 manaplus-4d02075c3daaefca2dcad72546e1e45b4219b5ad.tar.xz manaplus-4d02075c3daaefca2dcad72546e1e45b4219b5ad.zip |
Add packet fields comments in tradehandler.
Diffstat (limited to 'src/net/ea')
-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) |