diff options
Diffstat (limited to 'src/net/tradehandler.cpp')
-rw-r--r-- | src/net/tradehandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tradehandler.cpp b/src/net/tradehandler.cpp index 85ab65c1..ed1536eb 100644 --- a/src/net/tradehandler.cpp +++ b/src/net/tradehandler.cpp @@ -159,6 +159,11 @@ void TradeHandler::handleMessage(MessageIn *msg) // Trade: New Item add response (was 0x00ea, now 01b1) { const int index = msg->readInt16(); + if (index == 0) + { + tradeWindow->receivedOk(true); + return; + } Item *item = player_node->getInventory()->getItem(index); Sint16 quantity = msg->readInt16(); |